#0E123C#0E123C

#0E123C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.080 H 273.2°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#0E123C
RGBrgb(14, 18, 60)
HSLhsl(235, 62%, 15%)
HSVhsv(235, 77%, 24%)
CMYKcmyk(76.7%, 70%, 0%, 76.5%)
CIE-LABlab(7.70, 14.69, -27.64)
CIE-LCHlch(7.70, 31.31, 297.99°)
OKLaboklab(21.01% 0.0045 -0.0797)
OKLCHoklch(21.01% 0.08 273.2)
XYZxyz(1.2127, 0.8521, 4.3747)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E123C #3C380E
analogous
#0E293C #0E123C #210E3C
triadic
#0E123C #3C0E12 #123C0E
tetradic
#0E123C #3C0E29 #3C380E #0E3C21
square
#0E123C #3C0E29 #3C380E #0E3C21
split-complementary
#0E123C #3C210E #293C0E
monochromatic
#060719 #060719 #0E123C #1A216E #25309F

Accessibility & contrast

On white

17.94
#0E123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E123C
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E123C#FFFFFF#000000##FFFFFF
##0E123C1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0e123c;
/* rgb */ color: rgb(14, 18, 60);
/* oklch */ color: oklch(21.0% 0.080 273.2);
Tailwind
colors: {
  custom: {
    50: '#544f72',
    500: '#0e123c',
    950: '#000000',
  },
}
SCSS
$custom: #0e123c;
$custom-light: #544f72;
$custom-dark: #000000;
JSON
{
  "hex": "#0e123c",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 234.783,
    "s": 62.162,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21011,
    "c": 0.07983,
    "h": 273.2
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#0E123C
secondary
#77712F
accent
#D743E5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0E123C

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

Preview Lab → · Contrast checker → · Palette generator →

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