#0F203F#0F203F

#0F203F is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.063 H 261.4°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#0F203F
RGBrgb(15, 32, 63)
HSLhsl(219, 62%, 15%)
HSVhsv(219, 76%, 25%)
CMYKcmyk(76.2%, 49.2%, 0%, 75.3%)
CIE-LABlab(12.57, 5.29, -21.91)
CIE-LCHlch(12.57, 22.54, 283.58°)
OKLaboklab(24.79% -0.0095 -0.0626)
OKLCHoklch(24.79% 0.063 261.4)
XYZxyz(1.6104, 1.4933, 4.9050)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F203F #3F2E0F
analogous
#0F383F #0F203F #160F3F
triadic
#0F203F #3F0F20 #203F0F
tetradic
#0F203F #3F0F38 #3F2E0F #0F3F16
square
#0F203F #3F0F38 #3F2E0F #0F3F16
split-complementary
#0F203F #3F160F #383F0F
monochromatic
#060D19 #060D19 #0F203F #1B3970 #2752A2

Accessibility & contrast

On white

16.17
#0F203F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F203F
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F203F#FFFFFF#000000##FFFFFF
##0F203F1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112340
Deuteranopia (green-blind)
#091F3E
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f203f;
/* rgb */ color: rgb(15, 32, 63);
/* oklch */ color: oklch(24.8% 0.063 261.4);
Tailwind
colors: {
  custom: {
    50: '#545b74',
    500: '#0f203f',
    950: '#000000',
  },
}
SCSS
$custom: #0f203f;
$custom-light: #545b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f203f",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 63
  },
  "hsl": {
    "h": 218.75,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24794,
    "c": 0.06329,
    "h": 261.4
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#0F203F
secondary
#796030
accent
#AB43E5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0F203F

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

Preview Lab → · Contrast checker → · Palette generator →

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