Skip to content

#000238 Color

#000238 is rgb(0, 2, 56) in RGB, hsl(238, 100%, 11%) in HSL, and about cmyk(100%, 96%, 0%, 78%) in CMYK. It has no registered color name of its own — the closest is Oxford Blue (#002147), visibly different at ΔE 15.61. White text is the more readable choice on this background.

#000238
HEX#000238
RGBrgb(0, 2, 56)
HSLhsl(238, 100%, 11%)
HSVhsv(238, 100%, 22%)
CMYKcmyk(100%, 96%, 0%, 78%)
OKLCHoklch(15.9% 0.103 264.2)
LABlab(2.56% 12.76 -32.98)
LCHlch(2.56% 35.37 291.15)

What #000238 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #000238, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every blue in the library.

#000238 Channel Values

How #000238 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 0 · G 2 · B 568-bit channels as sent to the display
HSLH 238° · S 100% · L 11%Easiest model for building lighter and darker variants
HSVH 238° · S 100% · V 22%Matches the picker in most design tools
CMYKC 100% · M 96% · Y 0% · K 78%Approximate ink mix; confirm with an ICC profile before printing
Luminance19.7:1 vs white · 1.07:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #000238 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text19.7:1AA normal AA large AAA normal
Fails AABlack text1.07:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #000238 in the contrast checker.

Colors That Go With #000238

Pairings derived from color-wheel relationships. The complementary color sits opposite #000238; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #000238

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #000238.

How #000238 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#000238
Protanopia#020238
Protanomaly#010238
Deuteranopia#010138
Deuteranomaly#010238
Tritanopia#001111
Tritanomaly#000C26
Achromatopsia#0B0B0B

Test a full palette in the color blindness simulator.

Using #000238 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-000238: #000238;
CSS backgroundbackground-color: #000238;
Tailwind configcolors: { 'color-000238': '#000238' }
SwiftUIColor(red: 0.000, green: 0.008, blue: 0.220)
Android XML<color name="color_000238">#000238</color>
SVG fillfill="#000238"

More Blue Colors

#000238 sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#000238 Frequently Asked Questions

What color is #000238?

#000238 is a darkest blue — rgb(0, 2, 56) in RGB and hsl(238, 100%, 11%) in HSL. It carries no registered color name of its own; the closest named color is Oxford Blue (#002147), which is visibly different at a CIE76 distance of 15.61.

What is the RGB value of #000238?

#000238 is rgb(0, 2, 56) — red 0, green 2, and blue 56 on the 0-255 scale.

What is the CMYK value of #000238?

#000238 converts to approximately cmyk(100%, 96%, 0%, 78%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #000238 be black or white?

White text is the more readable choice. #000238 scores 19.7:1 against white and 1.07:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #000238 as a CSS color keyword?

No. #000238 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is midnightblue (#191970) at a CIE76 distance of 25.46, which is a different colour altogether.

Open #000238 in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.