#0F203D#0F203D

#0F203D is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.6% C 0.060 H 260.4°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#0F203D
RGBrgb(15, 32, 61)
HSLhsl(218, 61%, 15%)
HSVhsv(218, 75%, 24%)
CMYKcmyk(75.4%, 47.5%, 0%, 76.1%)
CIE-LABlab(12.43, 4.42, -20.73)
CIE-LCHlch(12.43, 21.20, 282.04°)
OKLaboklab(24.64% -0.01 -0.0591)
OKLCHoklch(24.64% 0.06 260.4)
XYZxyz(1.5555, 1.4714, 4.6160)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F203D #3D2C0F
analogous
#0F373D #0F203D #150F3D
triadic
#0F203D #3D0F20 #203D0F
tetradic
#0F203D #3D0F37 #3D2C0F #0F3D15
square
#0F203D #3D0F37 #3D2C0F #0F3D15
split-complementary
#0F203D #3D150F #373D0F
monochromatic
#060D19 #060D19 #0F203D #1B3A6E #27549F

Accessibility & contrast

On white

16.22
#0F203D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F203D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F203D
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F203D#FFFFFF#000000##FFFFFF
##0F203D1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233E
Deuteranopia (green-blind)
#0C1E3C
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f203d;
/* rgb */ color: rgb(15, 32, 61);
/* oklch */ color: oklch(24.6% 0.060 260.4);
Tailwind
colors: {
  custom: {
    50: '#535b72',
    500: '#0f203d',
    950: '#000000',
  },
}
SCSS
$custom: #0f203d;
$custom-light: #535b72;
$custom-dark: #000000;
JSON
{
  "hex": "#0f203d",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 61
  },
  "hsl": {
    "h": 217.826,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2464,
    "c": 0.05993,
    "h": 260.4
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#0F203D
secondary
#775D30
accent
#A944E4
background
#F4F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #0F203D

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

Preview Lab → · Contrast checker → · Palette generator →

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