#0F1E4B#0F1E4B

#0F1E4B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.086 H 266.3°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#0F1E4B
RGBrgb(15, 30, 75)
HSLhsl(225, 67%, 18%)
HSVhsv(225, 80%, 29%)
CMYKcmyk(80%, 60%, 0%, 70.6%)
CIE-LABlab(12.85, 12.09, -29.81)
CIE-LCHlch(12.85, 32.17, 292.07°)
OKLaboklab(25.31% -0.0055 -0.0858)
OKLCHoklch(25.31% 0.086 266.3)
XYZxyz(1.9308, 1.5379, 6.8503)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E4B #4B3C0F
analogous
#0F3C4B #0F1E4B #1E0F4B
triadic
#0F1E4B #4B0F1E #1E4B0F
tetradic
#0F1E4B #4B0F3C #4B3C0F #0F4B1E
square
#0F1E4B #4B0F3C #4B3C0F #0F4B1E
split-complementary
#0F1E4B #4B1E0F #3C4B0F
monochromatic
#050A1A #050A1A #0F1E4B #19327E #2347B1

Accessibility & contrast

On white

16.06
#0F1E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1E4B
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E4B#FFFFFF#000000##FFFFFF
##0F1E4B1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#001F4A
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1e4b;
/* rgb */ color: rgb(15, 30, 75);
/* oklch */ color: oklch(25.3% 0.086 266.3);
Tailwind
colors: {
  custom: {
    50: '#57597e',
    500: '#0f1e4b',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e4b;
$custom-light: #57597e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e4b",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 225,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2531,
    "c": 0.08601,
    "h": 266.3
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#0F1E4B
secondary
#857030
accent
#BF3EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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