#0F2041#0F2041

#0F2041 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.067 H 262.2°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#0F2041
RGBrgb(15, 32, 65)
HSLhsl(220, 63%, 16%)
HSVhsv(220, 77%, 25%)
CMYKcmyk(76.9%, 50.8%, 0%, 74.5%)
CIE-LABlab(12.71, 6.17, -23.08)
CIE-LCHlch(12.71, 23.89, 284.95°)
OKLaboklab(24.95% -0.0091 -0.066)
OKLCHoklch(24.95% 0.067 262.2)
XYZxyz(1.6673, 1.5161, 5.2048)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2041 #41300F
analogous
#0F3941 #0F2041 #170F41
triadic
#0F2041 #410F20 #20410F
tetradic
#0F2041 #410F39 #41300F #0F4117
square
#0F2041 #410F39 #41300F #0F4117
split-complementary
#0F2041 #41170F #39410F
monochromatic
#060C19 #060C19 #0F2041 #1A3873 #2651A4

Accessibility & contrast

On white

16.11
#0F2041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F2041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2041
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2041#FFFFFF#000000##FFFFFF
##0F20411.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102342
Deuteranopia (green-blind)
#071F40
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f2041;
/* rgb */ color: rgb(15, 32, 65);
/* oklch */ color: oklch(25.0% 0.067 262.2);
Tailwind
colors: {
  custom: {
    50: '#545b76',
    500: '#0f2041',
    950: '#000000',
  },
}
SCSS
$custom: #0f2041;
$custom-light: #545b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2041",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 65
  },
  "hsl": {
    "h": 219.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24952,
    "c": 0.06663,
    "h": 262.2
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#0F2041
secondary
#7B6230
accent
#AE42E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0F2041

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

Preview Lab → · Contrast checker → · Palette generator →

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