#0F2559#0F2559

#0F2559 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.098 H 263.9°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#0F2559
RGBrgb(15, 37, 89)
HSLhsl(222, 71%, 20%)
HSVhsv(222, 83%, 35%)
CMYKcmyk(83.1%, 58.4%, 0%, 65.1%)
CIE-LABlab(16.23, 12.89, -33.82)
CIE-LCHlch(16.23, 36.19, 290.86°)
OKLaboklab(28.25% -0.0104 -0.0975)
OKLCHoklch(28.25% 0.098 263.9)
XYZxyz(2.6611, 2.1457, 9.7232)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2559 #59430F
analogous
#0F4A59 #0F2559 #1E0F59
triadic
#0F2559 #590F25 #25590F
tetradic
#0F2559 #590F4A #59430F #0F591E
square
#0F2559 #590F4A #59430F #0F591E
split-complementary
#0F2559 #591E0F #4A590F
monochromatic
#040B1A #060F25 #0F2559 #183B8D #2151C2

Accessibility & contrast

On white

14.69
#0F2559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2559
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2559#FFFFFF#000000##FFFFFF
##0F25591.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2559;
/* rgb */ color: rgb(15, 37, 89);
/* oklch */ color: oklch(28.2% 0.098 263.9);
Tailwind
colors: {
  custom: {
    50: '#5b5f88',
    500: '#0f2559',
    950: '#000000',
  },
}
SCSS
$custom: #0f2559;
$custom-light: #5b5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2559",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 89
  },
  "hsl": {
    "h": 222.162,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28246,
    "c": 0.09805,
    "h": 263.9
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#0F2559
secondary
#937631
accent
#B83AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2559

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

Preview Lab → · Contrast checker → · Palette generator →

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