#0E1954#0E1954

#0E1954 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.107 H 268.8°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#0E1954
RGBrgb(14, 25, 84)
HSLhsl(231, 71%, 19%)
HSVhsv(231, 83%, 33%)
CMYKcmyk(83.3%, 70.2%, 0%, 67.1%)
CIE-LABlab(12.15, 19.61, -37.11)
CIE-LCHlch(12.15, 41.98, 297.85°)
OKLaboklab(25.04% -0.0023 -0.1074)
OKLCHoklch(25.04% 0.107 268.8)
XYZxyz(2.1284, 1.4285, 8.5493)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1954 #54490E
analogous
#0E3C54 #0E1954 #260E54
triadic
#0E1954 #540E19 #19540E
tetradic
#0E1954 #540E3C #54490E #0E5426
square
#0E1954 #540E3C #54490E #0E5426
split-complementary
#0E1954 #54260E #3C540E
monochromatic
#04081A #050920 #0E1954 #172988 #1F38BD

Accessibility & contrast

On white

16.33
#0E1954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0E1954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1954
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1954#FFFFFF#000000##FFFFFF
##0E19541.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001D53
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0e1954;
/* rgb */ color: rgb(14, 25, 84);
/* oklch */ color: oklch(25.0% 0.107 268.8);
Tailwind
colors: {
  custom: {
    50: '#5a5585',
    500: '#0e1954',
    950: '#000000',
  },
}
SCSS
$custom: #0e1954;
$custom-light: #5a5585;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1954",
  "rgb": {
    "r": 14,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 230.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25037,
    "c": 0.1074,
    "h": 268.8
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#0E1954
secondary
#8E7F2F
accent
#D23AEE
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1954

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

Preview Lab → · Contrast checker → · Palette generator →

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