#0F2552#0F2552

#0F2552 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.087 H 262.6°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#0F2552
RGBrgb(15, 37, 82)
HSLhsl(220, 69%, 19%)
HSVhsv(220, 82%, 32%)
CMYKcmyk(81.7%, 54.9%, 0%, 67.8%)
CIE-LABlab(15.66, 9.82, -30.03)
CIE-LCHlch(15.66, 31.60, 288.11°)
OKLaboklab(27.63% -0.0113 -0.0863)
OKLCHoklch(27.63% 0.087 262.6)
XYZxyz(2.3810, 2.0336, 8.2480)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2552 #523C0F
analogous
#0F4752 #0F2552 #1B0F52
triadic
#0F2552 #520F25 #25520F
tetradic
#0F2552 #520F47 #523C0F #0F521B
square
#0F2552 #520F47 #523C0F #0F521B
split-complementary
#0F2552 #521B0F #47520F
monochromatic
#050C1A #060E1E #0F2552 #183C86 #2254B9

Accessibility & contrast

On white

14.93
#0F2552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F2552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2552
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2552#FFFFFF#000000##FFFFFF
##0F25521.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2A54
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2552;
/* rgb */ color: rgb(15, 37, 82);
/* oklch */ color: oklch(27.6% 0.087 262.6);
Tailwind
colors: {
  custom: {
    50: '#595f83',
    500: '#0f2552',
    950: '#000000',
  },
}
SCSS
$custom: #0f2552;
$custom-light: #595f83;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2552",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 220.299,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2763,
    "c": 0.08708,
    "h": 262.6
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#0F2552
secondary
#8C6E31
accent
#B23CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2552

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

Preview Lab → · Contrast checker → · Palette generator →

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