#0F1E4A#0F1E4A

#0F1E4A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.084 H 266.2°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#0F1E4A
RGBrgb(15, 30, 74)
HSLhsl(225, 66%, 17%)
HSVhsv(225, 80%, 29%)
CMYKcmyk(79.7%, 59.5%, 0%, 71%)
CIE-LABlab(12.76, 11.65, -29.26)
CIE-LCHlch(12.76, 31.49, 291.71°)
OKLaboklab(25.22% -0.0056 -0.0842)
OKLCHoklch(25.22% 0.084 266.2)
XYZxyz(1.8969, 1.5243, 6.6715)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E4A #4A3B0F
analogous
#0F3B4A #0F1E4A #1E0F4A
triadic
#0F1E4A #4A0F1E #1E4A0F
tetradic
#0F1E4A #4A0F3B #4A3B0F #0F4A1E
square
#0F1E4A #4A0F3B #4A3B0F #0F4A1E
split-complementary
#0F1E4A #4A1E0F #3B4A0F
monochromatic
#050A19 #050A19 #0F1E4A #19337D #2447B0

Accessibility & contrast

On white

16.09
#0F1E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F1E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E4A
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E4A#FFFFFF#000000##FFFFFF
##0F1E4A1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1e4a;
/* rgb */ color: rgb(15, 30, 74);
/* oklch */ color: oklch(25.2% 0.084 266.2);
Tailwind
colors: {
  custom: {
    50: '#57597d',
    500: '#0f1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e4a;
$custom-light: #57597d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e4a",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 224.746,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25219,
    "c": 0.08439,
    "h": 266.2
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#0F1E4A
secondary
#846F30
accent
#BE3FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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