#0F2047#0F2047

#0F2047 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.077 H 264.0°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#0F2047
RGBrgb(15, 32, 71)
HSLhsl(222, 65%, 17%)
HSVhsv(222, 79%, 28%)
CMYKcmyk(78.9%, 54.9%, 0%, 72.2%)
CIE-LABlab(13.16, 8.80, -26.53)
CIE-LCHlch(13.16, 27.95, 288.34°)
OKLaboklab(25.45% -0.008 -0.0761)
OKLCHoklch(25.45% 0.077 264)
XYZxyz(1.8504, 1.5893, 6.1693)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2047 #47360F
analogous
#0F3C47 #0F2047 #1A0F47
triadic
#0F2047 #470F20 #20470F
tetradic
#0F2047 #470F3C #47360F #0F471A
square
#0F2047 #470F3C #47360F #0F471A
split-complementary
#0F2047 #471A0F #3C470F
monochromatic
#050B19 #050B19 #0F2047 #1A377A #244EAC

Accessibility & contrast

On white

15.93
#0F2047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2047
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2047#FFFFFF#000000##FFFFFF
##0F20471.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2548
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2047;
/* rgb */ color: rgb(15, 32, 71);
/* oklch */ color: oklch(25.4% 0.077 264.0);
Tailwind
colors: {
  custom: {
    50: '#565a7a',
    500: '#0f2047',
    950: '#000000',
  },
}
SCSS
$custom: #0f2047;
$custom-light: #565a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2047",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 221.786,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25447,
    "c": 0.07657,
    "h": 264
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#0F2047
secondary
#816930
accent
#B540E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F2047

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

Preview Lab → · Contrast checker → · Palette generator →

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