#0F2C5D#0F2C5D

#0F2C5D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.094 H 260.3°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#0F2C5D
RGBrgb(15, 44, 93)
HSLhsl(218, 72%, 21%)
HSVhsv(218, 84%, 36%)
CMYKcmyk(83.9%, 52.7%, 0%, 63.5%)
CIE-LABlab(18.77, 9.41, -32.38)
CIE-LCHlch(18.77, 33.72, 286.21°)
OKLaboklab(30.28% -0.016 -0.0931)
OKLCHoklch(30.28% 0.094 260.3)
XYZxyz(3.0728, 2.6929, 10.7116)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C5D #5D400F
analogous
#0F535D #0F2C5D #190F5D
triadic
#0F2C5D #5D0F2C #2C5D0F
tetradic
#0F2C5D #5D0F53 #5D400F #0F5D19
square
#0F2C5D #5D0F53 #5D400F #0F5D19
split-complementary
#0F2C5D #5D190F #535D0F
monochromatic
#040C1A #061328 #0F2C5D #174592 #205EC6

Accessibility & contrast

On white

13.65
#0F2C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2C5D
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C5D#FFFFFF#000000##FFFFFF
##0F2C5D1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2c5d;
/* rgb */ color: rgb(15, 44, 93);
/* oklch */ color: oklch(30.3% 0.094 260.3);
Tailwind
colors: {
  custom: {
    50: '#5b648b',
    500: '#0f2c5d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c5d;
$custom-light: #5b648b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c5d",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 217.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30279,
    "c": 0.09447,
    "h": 260.3
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#0F2C5D
secondary
#967131
accent
#AB39EF
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0F2C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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