#0F1848#0F1848

#0F1848 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.090 H 269.9°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#0F1848
RGBrgb(15, 24, 72)
HSLhsl(231, 66%, 17%)
HSVhsv(231, 79%, 28%)
CMYKcmyk(79.2%, 66.7%, 0%, 71.8%)
CIE-LABlab(10.72, 15.39, -31.19)
CIE-LCHlch(10.72, 34.78, 296.27°)
OKLaboklab(23.63% -0.0001 -0.09)
OKLCHoklch(23.63% 0.09 269.9)
XYZxyz(1.6929, 1.2225, 6.2764)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1848 #483F0F
analogous
#0F3548 #0F1848 #230F48
triadic
#0F1848 #480F18 #18480F
tetradic
#0F1848 #480F35 #483F0F #0F4823
square
#0F1848 #480F35 #483F0F #0F4823
split-complementary
#0F1848 #48230F #35480F
monochromatic
#050819 #050819 #0F1848 #1A297B #243AAD

Accessibility & contrast

On white

16.87
#0F1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1848
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1848#FFFFFF#000000##FFFFFF
##0F18481.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001A47
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1848;
/* rgb */ color: rgb(15, 24, 72);
/* oklch */ color: oklch(23.6% 0.090 269.9);
Tailwind
colors: {
  custom: {
    50: '#57547b',
    500: '#0f1848',
    950: '#000000',
  },
}
SCSS
$custom: #0f1848;
$custom-light: #57547b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1848",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 230.526,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23634,
    "c": 0.08998,
    "h": 269.9
  },
  "luminance": 0.01223
}

Semantic roles & 50–950 ramp

primary
#0F1848
secondary
#827530
accent
#CE3FE8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1848

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

Preview Lab → · Contrast checker → · Palette generator →

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