#0F213E#0F213E

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

Color values

HEX#0F213E
RGBrgb(15, 33, 62)
HSLhsl(217, 61%, 15%)
HSVhsv(217, 76%, 24%)
CMYKcmyk(75.8%, 46.8%, 0%, 75.7%)
CIE-LABlab(12.84, 4.10, -20.77)
CIE-LCHlch(12.84, 21.17, 281.16°)
OKLaboklab(24.98% -0.011 -0.0592)
OKLCHoklch(24.98% 0.06 259.5)
XYZxyz(1.6100, 1.5369, 4.7683)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F213E #3E2C0F
analogous
#0F393E #0F213E #140F3E
triadic
#0F213E #3E0F21 #213E0F
tetradic
#0F213E #3E0F39 #3E2C0F #0F3E14
square
#0F213E #3E0F39 #3E2C0F #0F3E14
split-complementary
#0F213E #3E140F #393E0F
monochromatic
#060D19 #060D19 #0F213E #1B3B6F #2755A1

Accessibility & contrast

On white

16.06
#0F213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F213E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F213E
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F213E#FFFFFF#000000##FFFFFF
##0F213E1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14243F
Deuteranopia (green-blind)
#0D1F3D
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f213e;
/* rgb */ color: rgb(15, 33, 62);
/* oklch */ color: oklch(25.0% 0.060 259.5);
Tailwind
colors: {
  custom: {
    50: '#545b73',
    500: '#0f213e',
    950: '#000000',
  },
}
SCSS
$custom: #0f213e;
$custom-light: #545b73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f213e",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 217.021,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24984,
    "c": 0.06021,
    "h": 259.5
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#0F213E
secondary
#785D30
accent
#A744E4
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0F213E

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

Preview Lab → · Contrast checker → · Palette generator →

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