#0E123B#0E123B

#0E123B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.078 H 273.3°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#0E123B
RGBrgb(14, 18, 59)
HSLhsl(235, 62%, 14%)
HSVhsv(235, 76%, 23%)
CMYKcmyk(76.3%, 69.5%, 0%, 76.9%)
CIE-LABlab(7.60, 14.26, -27.08)
CIE-LCHlch(7.60, 30.60, 297.77°)
OKLaboklab(20.91% 0.0045 -0.078)
OKLCHoklch(20.91% 0.078 273.3)
XYZxyz(1.1866, 0.8416, 4.2367)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E123B #3B370E
analogous
#0E293B #0E123B #210E3B
triadic
#0E123B #3B0E12 #123B0E
tetradic
#0E123B #3B0E29 #3B370E #0E3B21
square
#0E123B #3B0E29 #3B370E #0E3B21
split-complementary
#0E123B #3B210E #293B0E
monochromatic
#060819 #060819 #0E123B #1A216C #25309E

Accessibility & contrast

On white

17.97
#0E123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0E123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E123B
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E123B#FFFFFF#000000##FFFFFF
##0E123B1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0e123b;
/* rgb */ color: rgb(14, 18, 59);
/* oklch */ color: oklch(20.9% 0.078 273.3);
Tailwind
colors: {
  custom: {
    50: '#534f71',
    500: '#0e123b',
    950: '#000000',
  },
}
SCSS
$custom: #0e123b;
$custom-light: #534f71;
$custom-dark: #000000;
JSON
{
  "hex": "#0e123b",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 234.667,
    "s": 61.644,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20909,
    "c": 0.07818,
    "h": 273.3
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#0E123B
secondary
#76702F
accent
#D643E5
background
#F5F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0E123B

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

Preview Lab → · Contrast checker → · Palette generator →

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