#0F2046#0F2046

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

Color values

HEX#0F2046
RGBrgb(15, 32, 70)
HSLhsl(221, 65%, 17%)
HSVhsv(221, 79%, 27%)
CMYKcmyk(78.6%, 54.3%, 0%, 72.5%)
CIE-LABlab(13.09, 8.36, -25.96)
CIE-LCHlch(13.09, 27.28, 287.84°)
OKLaboklab(25.36% -0.0081 -0.0745)
OKLCHoklch(25.36% 0.075 263.8)
XYZxyz(1.8186, 1.5766, 6.0016)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2046 #46350F
analogous
#0F3C46 #0F2046 #1A0F46
triadic
#0F2046 #460F20 #20460F
tetradic
#0F2046 #460F3C #46350F #0F461A
square
#0F2046 #460F3C #46350F #0F461A
split-complementary
#0F2046 #461A0F #3C460F
monochromatic
#050C19 #050C19 #0F2046 #1A3778 #254EAB

Accessibility & contrast

On white

15.96
#0F2046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2046
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2046#FFFFFF#000000##FFFFFF
##0F20461.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2447
Deuteranopia (green-blind)
#011F45
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2046;
/* rgb */ color: rgb(15, 32, 70);
/* oklch */ color: oklch(25.4% 0.075 263.8);
Tailwind
colors: {
  custom: {
    50: '#565a7a',
    500: '#0f2046',
    950: '#000000',
  },
}
SCSS
$custom: #0f2046;
$custom-light: #565a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2046",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 221.455,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25362,
    "c": 0.07492,
    "h": 263.8
  },
  "luminance": 0.01577
}

Semantic roles & 50–950 ramp

primary
#0F2046
secondary
#806830
accent
#B440E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F2046

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

Preview Lab → · Contrast checker → · Palette generator →

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