#0F2B59#0F2B59

#0F2B59 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.090 H 259.9°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#0F2B59
RGBrgb(15, 43, 89)
HSLhsl(217, 71%, 20%)
HSVhsv(217, 83%, 35%)
CMYKcmyk(83.1%, 51.7%, 0%, 65.1%)
CIE-LABlab(18.14, 8.40, -30.73)
CIE-LCHlch(18.14, 31.86, 285.30°)
OKLaboklab(29.7% -0.0157 -0.0883)
OKLCHoklch(29.7% 0.09 259.9)
XYZxyz(2.8634, 2.5503, 9.7906)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B59 #593D0F
analogous
#0F5059 #0F2B59 #180F59
triadic
#0F2B59 #590F2B #2B590F
tetradic
#0F2B59 #590F50 #593D0F #0F5918
square
#0F2B59 #590F50 #593D0F #0F5918
split-complementary
#0F2B59 #59180F #50590F
monochromatic
#040D1A #061225 #0F2B59 #18448D #215EC2

Accessibility & contrast

On white

13.91
#0F2B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B59
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B59#FFFFFF#000000##FFFFFF
##0F2B591.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305B
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2b59;
/* rgb */ color: rgb(15, 43, 89);
/* oklch */ color: oklch(29.7% 0.090 259.9);
Tailwind
colors: {
  custom: {
    50: '#5a6388',
    500: '#0f2b59',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b59;
$custom-light: #5a6388;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b59",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 217.297,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29703,
    "c": 0.08967,
    "h": 259.9
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#0F2B59
secondary
#936E31
accent
#AA3AEE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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