#0F2549#0F2549

#0F2549 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.073 H 259.8°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#0F2549
RGBrgb(15, 37, 73)
HSLhsl(217, 66%, 17%)
HSVhsv(217, 79%, 29%)
CMYKcmyk(79.5%, 49.3%, 0%, 71.4%)
CIE-LABlab(14.98, 5.87, -24.99)
CIE-LCHlch(14.98, 25.67, 283.22°)
OKLaboklab(26.89% -0.0129 -0.0715)
OKLCHoklch(26.89% 0.073 259.8)
XYZxyz(2.0607, 1.9055, 6.5612)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2549 #49330F
analogous
#0F4249 #0F2549 #160F49
triadic
#0F2549 #490F25 #25490F
tetradic
#0F2549 #490F42 #49330F #0F4916
square
#0F2549 #490F42 #49330F #0F4916
split-complementary
#0F2549 #49160F #42490F
monochromatic
#050D19 #050D19 #0F2549 #193F7C #2458AF

Accessibility & contrast

On white

15.20
#0F2549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F2549 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2549
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2549#FFFFFF#000000##FFFFFF
##0F25491.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294A
Deuteranopia (green-blind)
#082348
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2549;
/* rgb */ color: rgb(15, 37, 73);
/* oklch */ color: oklch(26.9% 0.073 259.8);
Tailwind
colors: {
  custom: {
    50: '#565f7c',
    500: '#0f2549',
    950: '#000000',
  },
}
SCSS
$custom: #0f2549;
$custom-light: #565f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2549",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 73
  },
  "hsl": {
    "h": 217.241,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26891,
    "c": 0.07268,
    "h": 259.8
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#0F2549
secondary
#836430
accent
#A83FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2549

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

Preview Lab → · Contrast checker → · Palette generator →

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