#0F2C59#0F2C59

#0F2C59 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.088 H 259.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#0F2C59
RGBrgb(15, 44, 89)
HSLhsl(216, 71%, 20%)
HSVhsv(216, 83%, 35%)
CMYKcmyk(83.1%, 50.6%, 0%, 65.1%)
CIE-LABlab(18.47, 7.67, -30.21)
CIE-LCHlch(18.47, 31.16, 284.24°)
OKLaboklab(29.95% -0.0167 -0.0867)
OKLCHoklch(29.95% 0.088 259.1)
XYZxyz(2.9002, 2.6239, 9.8029)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C59 #593C0F
analogous
#0F5159 #0F2C59 #170F59
triadic
#0F2C59 #590F2C #2C590F
tetradic
#0F2C59 #590F51 #593C0F #0F5917
square
#0F2C59 #590F51 #593C0F #0F5917
split-complementary
#0F2C59 #59170F #51590F
monochromatic
#040D1A #061225 #0F2C59 #18468D #2160C2

Accessibility & contrast

On white

13.77
#0F2C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C59
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C59#FFFFFF#000000##FFFFFF
##0F2C591.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14315B
Deuteranopia (green-blind)
#022A58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2c59;
/* rgb */ color: rgb(15, 44, 89);
/* oklch */ color: oklch(30.0% 0.088 259.1);
Tailwind
colors: {
  custom: {
    50: '#5a6488',
    500: '#0f2c59',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c59;
$custom-light: #5a6488;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c59",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 89
  },
  "hsl": {
    "h": 216.486,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29953,
    "c": 0.0883,
    "h": 259.1
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#0F2C59
secondary
#936C31
accent
#A73AEE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2C59

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

Preview Lab → · Contrast checker → · Palette generator →

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