#0F1E4D#0F1E4D

#0F1E4D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.089 H 266.6°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#0F1E4D
RGBrgb(15, 30, 77)
HSLhsl(225, 67%, 18%)
HSVhsv(225, 81%, 30%)
CMYKcmyk(80.5%, 61%, 0%, 69.8%)
CIE-LABlab(13.02, 12.96, -30.90)
CIE-LCHlch(13.02, 33.51, 292.76°)
OKLaboklab(25.5% -0.0053 -0.089)
OKLCHoklch(25.5% 0.089 266.6)
XYZxyz(2.0004, 1.5657, 7.2165)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E4D #4D3E0F
analogous
#0F3D4D #0F1E4D #1F0F4D
triadic
#0F1E4D #4D0F1E #1E4D0F
tetradic
#0F1E4D #4D0F3D #4D3E0F #0F4D1F
square
#0F1E4D #4D0F3D #4D3E0F #0F4D1F
split-complementary
#0F1E4D #4D1F0F #3D4D0F
monochromatic
#050A1A #050A1A #0F1E4D #193280 #2346B3

Accessibility & contrast

On white

15.99
#0F1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1E4D
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E4D#FFFFFF#000000##FFFFFF
##0F1E4D1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1e4d;
/* rgb */ color: rgb(15, 30, 77);
/* oklch */ color: oklch(25.5% 0.089 266.6);
Tailwind
colors: {
  custom: {
    50: '#58597f',
    500: '#0f1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e4d;
$custom-light: #58597f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e4d",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 225.484,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25495,
    "c": 0.08921,
    "h": 266.6
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#0F1E4D
secondary
#877231
accent
#C03EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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