#0F203E#0F203E

#0F203E is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.7% C 0.062 H 260.9°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#0F203E
RGBrgb(15, 32, 62)
HSLhsl(218, 61%, 15%)
HSVhsv(218, 76%, 24%)
CMYKcmyk(75.8%, 48.4%, 0%, 75.7%)
CIE-LABlab(12.49, 4.86, -21.32)
CIE-LCHlch(12.49, 21.87, 282.84°)
OKLaboklab(24.72% -0.0097 -0.0608)
OKLCHoklch(24.72% 0.062 260.9)
XYZxyz(1.5827, 1.4822, 4.7592)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F203E #3E2D0F
analogous
#0F373E #0F203E #160F3E
triadic
#0F203E #3E0F20 #203E0F
tetradic
#0F203E #3E0F37 #3E2D0F #0F3E16
square
#0F203E #3E0F37 #3E2D0F #0F3E16
split-complementary
#0F203E #3E160F #373E0F
monochromatic
#060D19 #060D19 #0F203E #1B396F #2753A1

Accessibility & contrast

On white

16.20
#0F203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F203E
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F203E#FFFFFF#000000##FFFFFF
##0F203E1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12233F
Deuteranopia (green-blind)
#0B1E3D
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f203e;
/* rgb */ color: rgb(15, 32, 62);
/* oklch */ color: oklch(24.7% 0.062 260.9);
Tailwind
colors: {
  custom: {
    50: '#545b73',
    500: '#0f203e',
    950: '#000000',
  },
}
SCSS
$custom: #0f203e;
$custom-light: #545b73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f203e",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 218.298,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24716,
    "c": 0.06161,
    "h": 260.9
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#0F203E
secondary
#785E30
accent
#AA44E4
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0F203E

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

Preview Lab → · Contrast checker → · Palette generator →

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