#0F2D59#0F2D59

#0F2D59 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.087 H 258.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#0F2D59
RGBrgb(15, 45, 89)
HSLhsl(216, 71%, 20%)
HSVhsv(216, 83%, 35%)
CMYKcmyk(83.1%, 49.4%, 0%, 65.1%)
CIE-LABlab(18.80, 6.93, -29.68)
CIE-LCHlch(18.80, 30.48, 283.14°)
OKLaboklab(30.21% -0.0176 -0.0851)
OKLCHoklch(30.21% 0.087 258.3)
XYZxyz(2.9379, 2.6993, 9.8154)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D59 #593B0F
analogous
#0F5259 #0F2D59 #160F59
triadic
#0F2D59 #590F2D #2D590F
tetradic
#0F2D59 #590F52 #593B0F #0F5916
square
#0F2D59 #590F52 #593B0F #0F5916
split-complementary
#0F2D59 #59160F #52590F
monochromatic
#040D1A #061325 #0F2D59 #18478D #2162C2

Accessibility & contrast

On white

13.64
#0F2D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D59
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D59#FFFFFF#000000##FFFFFF
##0F2D591.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16315B
Deuteranopia (green-blind)
#052B58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2d59;
/* rgb */ color: rgb(15, 45, 89);
/* oklch */ color: oklch(30.2% 0.087 258.3);
Tailwind
colors: {
  custom: {
    50: '#5a6588',
    500: '#0f2d59',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d59;
$custom-light: #5a6588;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d59",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 215.676,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30205,
    "c": 0.08696,
    "h": 258.3
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#0F2D59
secondary
#936B31
accent
#A53AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2D59

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

Preview Lab → · Contrast checker → · Palette generator →

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