#0F1E4E#0F1E4E

#0F1E4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.091 H 266.7°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#0F1E4E
RGBrgb(15, 30, 78)
HSLhsl(226, 68%, 18%)
HSVhsv(226, 81%, 31%)
CMYKcmyk(80.8%, 61.5%, 0%, 69.4%)
CIE-LABlab(13.11, 13.40, -31.45)
CIE-LCHlch(13.11, 34.18, 293.07°)
OKLaboklab(25.59% -0.0053 -0.0906)
OKLCHoklch(25.59% 0.091 266.7)
XYZxyz(2.0359, 1.5799, 7.4039)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E4E #4E3F0F
analogous
#0F3D4E #0F1E4E #1F0F4E
triadic
#0F1E4E #4E0F1E #1E4E0F
tetradic
#0F1E4E #4E0F3D #4E3F0F #0F4E1F
square
#0F1E4E #4E0F3D #4E3F0F #0F4E1F
split-complementary
#0F1E4E #4E1F0F #3D4E0F
monochromatic
#050A1A #050A1B #0F1E4E #193281 #2345B5

Accessibility & contrast

On white

15.96
#0F1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1E4E
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E4E#FFFFFF#000000##FFFFFF
##0F1E4E1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1e4e;
/* rgb */ color: rgb(15, 30, 78);
/* oklch */ color: oklch(25.6% 0.091 266.7);
Tailwind
colors: {
  custom: {
    50: '#585980',
    500: '#0f1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e4e;
$custom-light: #585980;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e4e",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 225.714,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25588,
    "c": 0.0908,
    "h": 266.7
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#0F1E4E
secondary
#887331
accent
#C13DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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