#0E154C#0E154C

#0E154C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.101 H 270.6°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#0E154C
RGBrgb(14, 21, 76)
HSLhsl(233, 69%, 18%)
HSVhsv(233, 82%, 30%)
CMYKcmyk(81.6%, 72.4%, 0%, 70.2%)
CIE-LABlab(10.19, 19.21, -34.83)
CIE-LCHlch(10.19, 39.78, 298.88°)
OKLaboklab(23.35% 0.001 -0.1007)
OKLCHoklch(23.35% 0.101 270.6)
XYZxyz(1.7533, 1.1513, 6.9659)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E154C #4C450E
analogous
#0E344C #0E154C #260E4C
triadic
#0E154C #4C0E15 #154C0E
tetradic
#0E154C #4C0E34 #4C450E #0E4C26
square
#0E154C #4C0E34 #4C450E #0E4C26
split-complementary
#0E154C #4C260E #344C0E
monochromatic
#05071A #05071A #0E154C #182380 #2132B3

Accessibility & contrast

On white

17.07
#0E154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0E154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E154C
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E154C#FFFFFF#000000##FFFFFF
##0E154C1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0e154c;
/* rgb */ color: rgb(14, 21, 76);
/* oklch */ color: oklch(23.4% 0.101 270.6);
Tailwind
colors: {
  custom: {
    50: '#58527f',
    500: '#0e154c',
    950: '#000000',
  },
}
SCSS
$custom: #0e154c;
$custom-light: #58527f;
$custom-dark: #000000;
JSON
{
  "hex": "#0e154c",
  "rgb": {
    "r": 14,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 233.226,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23351,
    "c": 0.10072,
    "h": 270.6
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#0E154C
secondary
#877D2F
accent
#D83CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0E154C

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

Preview Lab → · Contrast checker → · Palette generator →

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