#0F206A#0F206A

#0F206A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.8% C 0.130 H 267.0°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#0F206A
RGBrgb(15, 32, 106)
HSLhsl(229, 75%, 24%)
HSVhsv(229, 86%, 42%)
CMYKcmyk(85.8%, 69.8%, 0%, 58.4%)
CIE-LABlab(16.38, 23.78, -44.83)
CIE-LCHlch(16.38, 50.74, 297.95°)
OKLaboklab(28.85% -0.0067 -0.1298)
OKLCHoklch(28.85% 0.13 267)
XYZxyz(3.3141, 2.1748, 13.8780)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F206A #6A590F
analogous
#0F4D6A #0F206A #2B0F6A
triadic
#0F206A #6A0F20 #206A0F
tetradic
#0F206A #6A0F4D #6A590F #0F6A2B
square
#0F206A #6A0F4D #6A590F #0F6A2B
split-complementary
#0F206A #6A2B0F #4D6A0F
monochromatic
#04081B #071034 #0F206A #1730A0 #1E40D5

Accessibility & contrast

On white

14.63
#0F206A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F206A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F206A
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F206A#FFFFFF#000000##FFFFFF
##0F206A1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f206a;
/* rgb */ color: rgb(15, 32, 106);
/* oklch */ color: oklch(28.8% 0.130 267.0);
Tailwind
colors: {
  custom: {
    50: '#605b95',
    500: '#0f206a',
    950: '#000000',
  },
}
SCSS
$custom: #0f206a;
$custom-light: #605b95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f206a",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 106
  },
  "hsl": {
    "h": 228.791,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28847,
    "c": 0.13,
    "h": 267
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#0F206A
secondary
#A28D32
accent
#CF36F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #0F206A

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

Preview Lab → · Contrast checker → · Palette generator →

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