#0F2859#0F2859

#0F2859 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.094 H 262.0°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#0F2859
RGBrgb(15, 40, 89)
HSLhsl(220, 71%, 20%)
HSVhsv(220, 83%, 35%)
CMYKcmyk(83.1%, 55.1%, 0%, 65.1%)
CIE-LABlab(17.18, 10.64, -32.29)
CIE-LCHlch(17.18, 34.00, 288.23°)
OKLaboklab(28.96% -0.013 -0.0929)
OKLCHoklch(28.96% 0.094 262)
XYZxyz(2.7583, 2.3401, 9.7556)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2859 #59400F
analogous
#0F4D59 #0F2859 #1B0F59
triadic
#0F2859 #590F28 #28590F
tetradic
#0F2859 #590F4D #59400F #0F591B
square
#0F2859 #590F4D #59400F #0F591B
split-complementary
#0F2859 #591B0F #4D590F
monochromatic
#040C1A #061025 #0F2859 #18408D #2157C2

Accessibility & contrast

On white

14.31
#0F2859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2859
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2859#FFFFFF#000000##FFFFFF
##0F28591.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092E5B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2859;
/* rgb */ color: rgb(15, 40, 89);
/* oklch */ color: oklch(29.0% 0.094 262.0);
Tailwind
colors: {
  custom: {
    50: '#5a6188',
    500: '#0f2859',
    950: '#000000',
  },
}
SCSS
$custom: #0f2859;
$custom-light: #5a6188;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2859",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 219.73,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28964,
    "c": 0.09383,
    "h": 262
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#0F2859
secondary
#937231
accent
#B13AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2859

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

Preview Lab → · Contrast checker → · Palette generator →

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