#0F2147#0F2147

#0F2147 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.075 H 263.1°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#0F2147
RGBrgb(15, 33, 71)
HSLhsl(221, 65%, 17%)
HSVhsv(221, 79%, 28%)
CMYKcmyk(78.9%, 53.5%, 0%, 72.2%)
CIE-LABlab(13.50, 8.03, -26.00)
CIE-LCHlch(13.50, 27.21, 287.17°)
OKLaboklab(25.7% -0.009 -0.0746)
OKLCHoklch(25.7% 0.075 263.1)
XYZxyz(1.8778, 1.6440, 6.1784)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2147 #47350F
analogous
#0F3D47 #0F2147 #190F47
triadic
#0F2147 #470F21 #21470F
tetradic
#0F2147 #470F3D #47350F #0F4719
square
#0F2147 #470F3D #47350F #0F4719
split-complementary
#0F2147 #47190F #3D470F
monochromatic
#050C19 #050C19 #0F2147 #1A387A #2450AC

Accessibility & contrast

On white

15.80
#0F2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2147
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2147#FFFFFF#000000##FFFFFF
##0F21471.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#022046
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f2147;
/* rgb */ color: rgb(15, 33, 71);
/* oklch */ color: oklch(25.7% 0.075 263.1);
Tailwind
colors: {
  custom: {
    50: '#565b7a',
    500: '#0f2147',
    950: '#000000',
  },
}
SCSS
$custom: #0f2147;
$custom-light: #565b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2147",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 220.714,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.257,
    "c": 0.0751,
    "h": 263.1
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#0F2147
secondary
#816730
accent
#B240E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2147

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

Preview Lab → · Contrast checker → · Palette generator →

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