#0F1E5A#0F1E5A

#0F1E5A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.109 H 267.4°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#0F1E5A
RGBrgb(15, 30, 90)
HSLhsl(228, 71%, 21%)
HSVhsv(228, 83%, 35%)
CMYKcmyk(83.3%, 66.7%, 0%, 64.7%)
CIE-LABlab(14.22, 18.56, -37.77)
CIE-LCHlch(14.22, 42.09, 296.17°)
OKLaboklab(26.77% -0.005 -0.1092)
OKLCHoklch(26.77% 0.109 267.4)
XYZxyz(2.5061, 1.7680, 9.8801)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E5A #5A4B0F
analogous
#0F435A #0F1E5A #250F5A
triadic
#0F1E5A #5A0F1E #1E5A0F
tetradic
#0F1E5A #5A0F43 #5A4B0F #0F5A25
square
#0F1E5A #5A0F43 #5A4B0F #0F5A25
split-complementary
#0F1E5A #5A250F #435A0F
monochromatic
#04091A #060D26 #0F1E5A #182F8E #2041C3

Accessibility & contrast

On white

15.51
#0F1E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F1E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E5A
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E5A#FFFFFF#000000##FFFFFF
##0F1E5A1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f1e5a;
/* rgb */ color: rgb(15, 30, 90);
/* oklch */ color: oklch(26.8% 0.109 267.4);
Tailwind
colors: {
  custom: {
    50: '#5c5989',
    500: '#0f1e5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e5a;
$custom-light: #5c5989;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e5a",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 228,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26765,
    "c": 0.10932,
    "h": 267.4
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#0F1E5A
secondary
#948031
accent
#CA3AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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