#0F1E5B#0F1E5B

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

Color values

HEX#0F1E5B
RGBrgb(15, 30, 91)
HSLhsl(228, 72%, 21%)
HSVhsv(228, 84%, 36%)
CMYKcmyk(83.5%, 67%, 0%, 64.3%)
CIE-LABlab(14.32, 18.99, -38.28)
CIE-LCHlch(14.32, 42.73, 296.38°)
OKLaboklab(26.87% -0.005 -0.1107)
OKLCHoklch(26.87% 0.111 267.4)
XYZxyz(2.5489, 1.7851, 10.1057)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E5B #5B4C0F
analogous
#0F445B #0F1E5B #260F5B
triadic
#0F1E5B #5B0F1E #1E5B0F
tetradic
#0F1E5B #5B0F44 #5B4C0F #0F5B26
square
#0F1E5B #5B0F44 #5B4C0F #0F5B26
split-complementary
#0F1E5B #5B260F #445B0F
monochromatic
#04091A #060D26 #0F1E5B #182F90 #2041C4

Accessibility & contrast

On white

15.48
#0F1E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F1E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E5B
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E5B#FFFFFF#000000##FFFFFF
##0F1E5B1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00215A
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f1e5b;
/* rgb */ color: rgb(15, 30, 91);
/* oklch */ color: oklch(26.9% 0.111 267.4);
Tailwind
colors: {
  custom: {
    50: '#5c598a',
    500: '#0f1e5b',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e5b;
$custom-light: #5c598a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e5b",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 228.158,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26867,
    "c": 0.11082,
    "h": 267.4
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#0F1E5B
secondary
#958131
accent
#CB39EE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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