#0F1849#0F1849

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

Color values

HEX#0F1849
RGBrgb(15, 24, 73)
HSLhsl(231, 66%, 17%)
HSVhsv(231, 79%, 29%)
CMYKcmyk(79.5%, 67.1%, 0%, 71.4%)
CIE-LABlab(10.82, 15.82, -31.72)
CIE-LCHlch(10.82, 35.45, 296.51°)
OKLaboklab(23.74% -0.0001 -0.0916)
OKLCHoklch(23.74% 0.092 269.9)
XYZxyz(1.7258, 1.2357, 6.4496)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1849 #49400F
analogous
#0F3549 #0F1849 #230F49
triadic
#0F1849 #490F18 #18490F
tetradic
#0F1849 #490F35 #49400F #0F4923
square
#0F1849 #490F35 #49400F #0F4923
split-complementary
#0F1849 #49230F #35490F
monochromatic
#050819 #050819 #0F1849 #19297C #2439AF

Accessibility & contrast

On white

16.84
#0F1849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F1849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1849
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1849#FFFFFF#000000##FFFFFF
##0F18491.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1849;
/* rgb */ color: rgb(15, 24, 73);
/* oklch */ color: oklch(23.7% 0.092 269.9);
Tailwind
colors: {
  custom: {
    50: '#57547c',
    500: '#0f1849',
    950: '#000000',
  },
}
SCSS
$custom: #0f1849;
$custom-light: #57547c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1849",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 230.69,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23735,
    "c": 0.09156,
    "h": 269.9
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#0F1849
secondary
#837730
accent
#CE3FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0F1849

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

Preview Lab → · Contrast checker → · Palette generator →

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