#0E2242#0E2242

#0E2242 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.066 H 259.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#0E2242
RGBrgb(14, 34, 66)
HSLhsl(217, 65%, 16%)
HSVhsv(217, 79%, 26%)
CMYKcmyk(78.8%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.42, 4.89, -22.66)
CIE-LCHlch(13.42, 23.18, 282.18°)
OKLaboklab(25.51% -0.0121 -0.0647)
OKLCHoklch(25.51% 0.066 259.4)
XYZxyz(1.7361, 1.6306, 5.3764)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2242 #422E0E
analogous
#0E3C42 #0E2242 #140E42
triadic
#0E2242 #420E22 #22420E
tetradic
#0E2242 #420E3C #422E0E #0E4214
square
#0E2242 #420E3C #422E0E #0E4214
split-complementary
#0E2242 #42140E #3C420E
monochromatic
#050D19 #050D19 #0E2242 #193C74 #2356A7

Accessibility & contrast

On white

15.83
#0E2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0E2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2242
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2242#FFFFFF#000000##FFFFFF
##0E22421.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132543
Deuteranopia (green-blind)
#0A2041
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e2242;
/* rgb */ color: rgb(14, 34, 66);
/* oklch */ color: oklch(25.5% 0.066 259.4);
Tailwind
colors: {
  custom: {
    50: '#545c76',
    500: '#0e2242',
    950: '#000000',
  },
}
SCSS
$custom: #0e2242;
$custom-light: #545c76;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2242",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 216.923,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25505,
    "c": 0.06586,
    "h": 259.4
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#0E2242
secondary
#7D5F2F
accent
#A740E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0E2242

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0E2242 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva