#0F2551#0F2551

#0F2551 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.086 H 262.3°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#0F2551
RGBrgb(15, 37, 81)
HSLhsl(220, 69%, 19%)
HSVhsv(220, 81%, 32%)
CMYKcmyk(81.5%, 54.3%, 0%, 68.2%)
CIE-LABlab(15.58, 9.38, -29.48)
CIE-LCHlch(15.58, 30.94, 287.65°)
OKLaboklab(27.55% -0.0114 -0.0847)
OKLCHoklch(27.55% 0.086 262.3)
XYZxyz(2.3432, 2.0185, 8.0491)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2551 #513B0F
analogous
#0F4651 #0F2551 #1A0F51
triadic
#0F2551 #510F25 #25510F
tetradic
#0F2551 #510F46 #513B0F #0F511A
square
#0F2551 #510F46 #513B0F #0F511A
split-complementary
#0F2551 #511A0F #46510F
monochromatic
#050C1A #050D1D #0F2551 #193D85 #2254B8

Accessibility & contrast

On white

14.96
#0F2551 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F2551 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2551
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2551#FFFFFF#000000##FFFFFF
##0F25511.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2551;
/* rgb */ color: rgb(15, 37, 81);
/* oklch */ color: oklch(27.5% 0.086 262.3);
Tailwind
colors: {
  custom: {
    50: '#585f82',
    500: '#0f2551',
    950: '#000000',
  },
}
SCSS
$custom: #0f2551;
$custom-light: #585f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2551",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 81
  },
  "hsl": {
    "h": 220,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27545,
    "c": 0.0855,
    "h": 262.3
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#0F2551
secondary
#8B6D31
accent
#B13CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2551

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

Preview Lab → · Contrast checker → · Palette generator →

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