#0F1E4F#0F1E4F

#0F1E4F is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.092 H 266.8°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#0F1E4F
RGBrgb(15, 30, 79)
HSLhsl(226, 68%, 18%)
HSVhsv(226, 81%, 31%)
CMYKcmyk(81%, 62%, 0%, 69%)
CIE-LABlab(13.20, 13.83, -31.99)
CIE-LCHlch(13.20, 34.85, 293.39°)
OKLaboklab(25.68% -0.0052 -0.0922)
OKLCHoklch(25.68% 0.092 266.8)
XYZxyz(2.0721, 1.5944, 7.5942)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E4F #4F400F
analogous
#0F3E4F #0F1E4F #200F4F
triadic
#0F1E4F #4F0F1E #1E4F0F
tetradic
#0F1E4F #4F0F3E #4F400F #0F4F20
square
#0F1E4F #4F0F3E #4F400F #0F4F20
split-complementary
#0F1E4F #4F200F #3E4F0F
monochromatic
#050A1A #050A1C #0F1E4F #193282 #2345B6

Accessibility & contrast

On white

15.92
#0F1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F1E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E4F
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E4F#FFFFFF#000000##FFFFFF
##0F1E4F1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1e4f;
/* rgb */ color: rgb(15, 30, 79);
/* oklch */ color: oklch(25.7% 0.092 266.8);
Tailwind
colors: {
  custom: {
    50: '#585981',
    500: '#0f1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e4f;
$custom-light: #585981;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e4f",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 225.938,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25683,
    "c": 0.09239,
    "h": 266.8
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#0F1E4F
secondary
#897431
accent
#C23DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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