#0F2049#0F2049

#0F2049 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.080 H 264.5°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#0F2049
RGBrgb(15, 32, 73)
HSLhsl(222, 66%, 17%)
HSVhsv(222, 79%, 29%)
CMYKcmyk(79.5%, 56.2%, 0%, 71.4%)
CIE-LABlab(13.32, 9.68, -27.66)
CIE-LCHlch(13.32, 29.30, 289.28°)
OKLaboklab(25.62% -0.0077 -0.0795)
OKLCHoklch(25.62% 0.08 264.5)
XYZxyz(1.9157, 1.6154, 6.5129)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2049 #49380F
analogous
#0F3D49 #0F2049 #1B0F49
triadic
#0F2049 #490F20 #20490F
tetradic
#0F2049 #490F3D #49380F #0F491B
square
#0F2049 #490F3D #49380F #0F491B
split-complementary
#0F2049 #491B0F #3D490F
monochromatic
#050B19 #050B19 #0F2049 #19367C #244DAF

Accessibility & contrast

On white

15.87
#0F2049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2049
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2049#FFFFFF#000000##FFFFFF
##0F20491.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08254A
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2049;
/* rgb */ color: rgb(15, 32, 73);
/* oklch */ color: oklch(25.6% 0.080 264.5);
Tailwind
colors: {
  custom: {
    50: '#565a7c',
    500: '#0f2049',
    950: '#000000',
  },
}
SCSS
$custom: #0f2049;
$custom-light: #565a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2049",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 73
  },
  "hsl": {
    "h": 222.414,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25619,
    "c": 0.07984,
    "h": 264.5
  },
  "luminance": 0.01616
}

Semantic roles & 50–950 ramp

primary
#0F2049
secondary
#836B30
accent
#B73FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0F2049

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

Preview Lab → · Contrast checker → · Palette generator →

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