#0F2E5D#0F2E5D

#0F2E5D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.092 H 258.8°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#0F2E5D
RGBrgb(15, 46, 93)
HSLhsl(216, 72%, 21%)
HSVhsv(216, 84%, 36%)
CMYKcmyk(83.9%, 50.5%, 0%, 63.5%)
CIE-LABlab(19.41, 7.94, -31.34)
CIE-LCHlch(19.41, 32.33, 284.22°)
OKLaboklab(30.77% -0.0178 -0.09)
OKLCHoklch(30.77% 0.092 258.8)
XYZxyz(3.1491, 2.8455, 10.7371)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E5D #5D3E0F
analogous
#0F555D #0F2E5D #170F5D
triadic
#0F2E5D #5D0F2E #2E5D0F
tetradic
#0F2E5D #5D0F55 #5D3E0F #0F5D17
square
#0F2E5D #5D0F55 #5D3E0F #0F5D17
split-complementary
#0F2E5D #5D170F #555D0F
monochromatic
#040D1A #061428 #0F2E5D #174892 #2062C6

Accessibility & contrast

On white

13.38
#0F2E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E5D
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E5D#FFFFFF#000000##FFFFFF
##0F2E5D1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14335F
Deuteranopia (green-blind)
#012C5C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2e5d;
/* rgb */ color: rgb(15, 46, 93);
/* oklch */ color: oklch(30.8% 0.092 258.8);
Tailwind
colors: {
  custom: {
    50: '#5b668b',
    500: '#0f2e5d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e5d;
$custom-light: #5b668b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e5d",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 216.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30774,
    "c": 0.09174,
    "h": 258.8
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#0F2E5D
secondary
#966E31
accent
#A739EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050C
muted
#797A7D

Preview Lab

Preview with #0F2E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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