#0F1E51#0F1E51

#0F1E51 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.096 H 266.9°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#0F1E51
RGBrgb(15, 30, 81)
HSLhsl(226, 69%, 19%)
HSVhsv(226, 81%, 32%)
CMYKcmyk(81.5%, 63%, 0%, 68.2%)
CIE-LABlab(13.38, 14.70, -33.06)
CIE-LCHlch(13.38, 36.18, 293.97°)
OKLaboklab(25.87% -0.0051 -0.0954)
OKLCHoklch(25.87% 0.096 266.9)
XYZxyz(2.1460, 1.6240, 7.9833)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E51 #51420F
analogous
#0F3F51 #0F1E51 #210F51
triadic
#0F1E51 #510F1E #1E510F
tetradic
#0F1E51 #510F3F #51420F #0F5121
square
#0F1E51 #510F3F #51420F #0F5121
split-complementary
#0F1E51 #51210F #3F510F
monochromatic
#050A1A #050B1D #0F1E51 #193185 #2244B8

Accessibility & contrast

On white

15.85
#0F1E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1E51
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E51#FFFFFF#000000##FFFFFF
##0F1E511.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002553
Deuteranopia (green-blind)
#001F50
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1e51;
/* rgb */ color: rgb(15, 30, 81);
/* oklch */ color: oklch(25.9% 0.096 266.9);
Tailwind
colors: {
  custom: {
    50: '#595982',
    500: '#0f1e51',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e51;
$custom-light: #595982;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e51",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 226.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25874,
    "c": 0.09554,
    "h": 266.9
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#0F1E51
secondary
#8B7731
accent
#C43CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1E51

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

Preview Lab → · Contrast checker → · Palette generator →

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