#0F2550#0F2550

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

Color values

HEX#0F2550
RGBrgb(15, 37, 80)
HSLhsl(220, 68%, 19%)
HSVhsv(220, 81%, 31%)
CMYKcmyk(81.3%, 53.7%, 0%, 68.6%)
CIE-LABlab(15.51, 8.95, -28.93)
CIE-LCHlch(15.51, 30.28, 287.18°)
OKLaboklab(27.46% -0.0116 -0.0831)
OKLCHoklch(27.46% 0.084 262.1)
XYZxyz(2.3060, 2.0036, 7.8531)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2550 #503A0F
analogous
#0F4550 #0F2550 #190F50
triadic
#0F2550 #500F25 #25500F
tetradic
#0F2550 #500F45 #503A0F #0F5019
square
#0F2550 #500F45 #503A0F #0F5019
split-complementary
#0F2550 #50190F #45500F
monochromatic
#050C1A #050D1C #0F2550 #193D84 #2255B7

Accessibility & contrast

On white

14.99
#0F2550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2550
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2550#FFFFFF#000000##FFFFFF
##0F25501.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2A52
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2550;
/* rgb */ color: rgb(15, 37, 80);
/* oklch */ color: oklch(27.5% 0.084 262.1);
Tailwind
colors: {
  custom: {
    50: '#585f81',
    500: '#0f2550',
    950: '#000000',
  },
}
SCSS
$custom: #0f2550;
$custom-light: #585f81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2550",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 80
  },
  "hsl": {
    "h": 219.692,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27461,
    "c": 0.08391,
    "h": 262.1
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#0F2550
secondary
#8A6C31
accent
#B03DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2550

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

Preview Lab → · Contrast checker → · Palette generator →

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