#0F2052#0F2052

#0F2052 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.094 H 265.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#0F2052
RGBrgb(15, 32, 82)
HSLhsl(225, 69%, 19%)
HSVhsv(225, 82%, 32%)
CMYKcmyk(81.7%, 61%, 0%, 67.8%)
CIE-LABlab(14.08, 13.62, -32.60)
CIE-LCHlch(14.08, 35.33, 292.67°)
OKLaboklab(26.43% -0.0067 -0.094)
OKLCHoklch(26.43% 0.094 265.9)
XYZxyz(2.2360, 1.7435, 8.1997)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2052 #52410F
analogous
#0F4252 #0F2052 #200F52
triadic
#0F2052 #520F20 #20520F
tetradic
#0F2052 #520F42 #52410F #0F5220
square
#0F2052 #520F42 #52410F #0F5220
split-complementary
#0F2052 #52200F #42520F
monochromatic
#050A1A #060C1E #0F2052 #183486 #2248B9

Accessibility & contrast

On white

15.57
#0F2052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F2052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2052
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2052#FFFFFF#000000##FFFFFF
##0F20521.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002151
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f2052;
/* rgb */ color: rgb(15, 32, 82);
/* oklch */ color: oklch(26.4% 0.094 265.9);
Tailwind
colors: {
  custom: {
    50: '#595b83',
    500: '#0f2052',
    950: '#000000',
  },
}
SCSS
$custom: #0f2052;
$custom-light: #595b83;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2052",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 224.776,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2643,
    "c": 0.09424,
    "h": 265.9
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#0F2052
secondary
#8C7531
accent
#BF3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2052

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

Preview Lab → · Contrast checker → · Palette generator →

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