#0F2959#0F2959

#0F2959 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.092 H 261.3°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#0F2959
RGBrgb(15, 41, 89)
HSLhsl(219, 71%, 20%)
HSVhsv(219, 83%, 35%)
CMYKcmyk(83.1%, 53.9%, 0%, 65.1%)
CIE-LABlab(17.50, 9.89, -31.77)
CIE-LCHlch(17.50, 33.28, 287.29°)
OKLaboklab(29.21% -0.0139 -0.0914)
OKLCHoklch(29.21% 0.092 261.3)
XYZxyz(2.7925, 2.4084, 9.7669)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2959 #593F0F
analogous
#0F4E59 #0F2959 #1A0F59
triadic
#0F2959 #590F29 #29590F
tetradic
#0F2959 #590F4E #593F0F #0F591A
square
#0F2959 #590F4E #593F0F #0F591A
split-complementary
#0F2959 #591A0F #4E590F
monochromatic
#040C1A #061125 #0F2959 #18418D #2159C2

Accessibility & contrast

On white

14.17
#0F2959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2959
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2959#FFFFFF#000000##FFFFFF
##0F29591.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2F5B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2959;
/* rgb */ color: rgb(15, 41, 89);
/* oklch */ color: oklch(29.2% 0.092 261.3);
Tailwind
colors: {
  custom: {
    50: '#5a6288',
    500: '#0f2959',
    950: '#000000',
  },
}
SCSS
$custom: #0f2959;
$custom-light: #5a6288;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2959",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 218.919,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29208,
    "c": 0.09243,
    "h": 261.3
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#0F2959
secondary
#937031
accent
#AF3AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2959

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

Preview Lab → · Contrast checker → · Palette generator →

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