#0F2252#0F2252

#0F2252 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.091 H 264.6°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#0F2252
RGBrgb(15, 34, 82)
HSLhsl(223, 69%, 19%)
HSVhsv(223, 82%, 32%)
CMYKcmyk(81.7%, 58.5%, 0%, 67.8%)
CIE-LABlab(14.70, 12.09, -31.58)
CIE-LCHlch(14.70, 33.82, 290.95°)
OKLaboklab(26.9% -0.0085 -0.091)
OKLCHoklch(26.9% 0.091 264.6)
XYZxyz(2.2915, 1.8546, 8.2182)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2252 #523F0F
analogous
#0F4452 #0F2252 #1E0F52
triadic
#0F2252 #520F22 #22520F
tetradic
#0F2252 #520F44 #523F0F #0F521E
square
#0F2252 #520F44 #523F0F #0F521E
split-complementary
#0F2252 #521E0F #44520F
monochromatic
#050B1A #060D1E #0F2252 #183786 #224DB9

Accessibility & contrast

On white

15.32
#0F2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2252
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2252#FFFFFF#000000##FFFFFF
##0F22521.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012854
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2252;
/* rgb */ color: rgb(15, 34, 82);
/* oklch */ color: oklch(26.9% 0.091 264.6);
Tailwind
colors: {
  custom: {
    50: '#595c83',
    500: '#0f2252',
    950: '#000000',
  },
}
SCSS
$custom: #0f2252;
$custom-light: #595c83;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2252",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 222.985,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26902,
    "c": 0.09137,
    "h": 264.6
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#0F2252
secondary
#8C7231
accent
#BA3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2252

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

Preview Lab → · Contrast checker → · Palette generator →

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