#0E124C#0E124C

#0E124C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.8% C 0.105 H 271.7°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#0E124C
RGBrgb(14, 18, 76)
HSLhsl(236, 69%, 18%)
HSVhsv(236, 82%, 30%)
CMYKcmyk(81.6%, 76.3%, 0%, 70.2%)
CIE-LABlab(9.38, 21.39, -36.16)
CIE-LCHlch(9.38, 42.02, 300.61°)
OKLaboklab(22.76% 0.003 -0.1046)
OKLCHoklch(22.76% 0.105 271.7)
XYZxyz(1.7015, 1.0476, 6.9486)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E124C #4C480E
analogous
#0E314C #0E124C #290E4C
triadic
#0E124C #4C0E12 #124C0E
tetradic
#0E124C #4C0E31 #4C480E #0E4C29
square
#0E124C #4C0E31 #4C480E #0E4C29
split-complementary
#0E124C #4C290E #314C0E
monochromatic
#05061A #05061A #0E124C #181E80 #212AB3

Accessibility & contrast

On white

17.36
#0E124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0E124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E124C
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E124C#FFFFFF#000000##FFFFFF
##0E124C1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#00174B
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e124c;
/* rgb */ color: rgb(14, 18, 76);
/* oklch */ color: oklch(22.8% 0.105 271.7);
Tailwind
colors: {
  custom: {
    50: '#58507f',
    500: '#0e124c',
    950: '#000000',
  },
}
SCSS
$custom: #0e124c;
$custom-light: #58507f;
$custom-dark: #000000;
JSON
{
  "hex": "#0e124c",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 236.129,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22762,
    "c": 0.10466,
    "h": 271.7
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#0E124C
secondary
#87812F
accent
#E03CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0E124C

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

Preview Lab → · Contrast checker → · Palette generator →

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