#0E104C#0E104C

#0E104C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.107 H 272.3°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#0E104C
RGBrgb(14, 16, 76)
HSLhsl(238, 69%, 18%)
HSVhsv(238, 82%, 30%)
CMYKcmyk(81.6%, 78.9%, 0%, 70.2%)
CIE-LABlab(8.87, 22.80, -37.00)
CIE-LCHlch(8.87, 43.46, 301.64°)
OKLaboklab(22.39% 0.0043 -0.1071)
OKLCHoklch(22.39% 0.107 272.3)
XYZxyz(1.6705, 0.9856, 6.9383)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E104C #4C4A0E
analogous
#0E2F4C #0E104C #2B0E4C
triadic
#0E104C #4C0E10 #104C0E
tetradic
#0E104C #4C0E2F #4C4A0E #0E4C2B
square
#0E104C #4C0E2F #4C4A0E #0E4C2B
split-complementary
#0E104C #4C2B0E #2F4C0E
monochromatic
#05051A #05051A #0E104C #181B80 #2126B3

Accessibility & contrast

On white

17.54
#0E104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0E104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E104C
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E104C#FFFFFF#000000##FFFFFF
##0E104C1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00164B
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e104c;
/* rgb */ color: rgb(14, 16, 76);
/* oklch */ color: oklch(22.4% 0.107 272.3);
Tailwind
colors: {
  custom: {
    50: '#594e7f',
    500: '#0e104c',
    950: '#000000',
  },
}
SCSS
$custom: #0e104c;
$custom-light: #594e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0e104c",
  "rgb": {
    "r": 14,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 238.065,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22394,
    "c": 0.10716,
    "h": 272.3
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#0E104C
secondary
#87842F
accent
#E63CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0E104C

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

Preview Lab → · Contrast checker → · Palette generator →

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