#0F2B5B#0F2B5B

#0F2B5B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.093 H 260.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#0F2B5B
RGBrgb(15, 43, 91)
HSLhsl(218, 72%, 21%)
HSVhsv(218, 84%, 36%)
CMYKcmyk(83.5%, 52.7%, 0%, 64.3%)
CIE-LABlab(18.30, 9.28, -31.82)
CIE-LCHlch(18.30, 33.14, 286.26°)
OKLaboklab(29.87% -0.0154 -0.0915)
OKLCHoklch(29.87% 0.093 260.4)
XYZxyz(2.9485, 2.5843, 10.2389)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B5B #5B3F0F
analogous
#0F515B #0F2B5B #190F5B
triadic
#0F2B5B #5B0F2B #2B5B0F
tetradic
#0F2B5B #5B0F51 #5B3F0F #0F5B19
square
#0F2B5B #5B0F51 #5B3F0F #0F5B19
split-complementary
#0F2B5B #5B190F #515B0F
monochromatic
#040C1A #061226 #0F2B5B #184490 #205DC4

Accessibility & contrast

On white

13.84
#0F2B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2B5B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B5B#FFFFFF#000000##FFFFFF
##0F2B5B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2b5b;
/* rgb */ color: rgb(15, 43, 91);
/* oklch */ color: oklch(29.9% 0.093 260.4);
Tailwind
colors: {
  custom: {
    50: '#5b638a',
    500: '#0f2b5b',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b5b;
$custom-light: #5b638a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b5b",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 217.895,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29867,
    "c": 0.09276,
    "h": 260.4
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#0F2B5B
secondary
#957031
accent
#AC39EE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0F2B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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