#0F2952#0F2952

#0F2952 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.081 H 259.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#0F2952
RGBrgb(15, 41, 82)
HSLhsl(217, 69%, 19%)
HSVhsv(217, 82%, 32%)
CMYKcmyk(81.7%, 50%, 0%, 67.8%)
CIE-LABlab(16.97, 6.83, -27.93)
CIE-LCHlch(16.97, 28.75, 283.74°)
OKLaboklab(28.63% -0.0152 -0.0801)
OKLCHoklch(28.63% 0.081 259.3)
XYZxyz(2.5124, 2.2963, 8.2918)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2952 #52380F
analogous
#0F4B52 #0F2952 #170F52
triadic
#0F2952 #520F29 #29520F
tetradic
#0F2952 #520F4B #52380F #0F5217
square
#0F2952 #520F4B #52380F #0F5217
split-complementary
#0F2952 #52170F #4B520F
monochromatic
#050D1A #060F1E #0F2952 #184386 #225DB9

Accessibility & contrast

On white

14.39
#0F2952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F2952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2952
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2952#FFFFFF#000000##FFFFFF
##0F29521.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#052751
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2952;
/* rgb */ color: rgb(15, 41, 82);
/* oklch */ color: oklch(28.6% 0.081 259.3);
Tailwind
colors: {
  custom: {
    50: '#586283',
    500: '#0f2952',
    950: '#000000',
  },
}
SCSS
$custom: #0f2952;
$custom-light: #586283;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2952",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 216.716,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28634,
    "c": 0.08149,
    "h": 259.3
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#0F2952
secondary
#8C6931
accent
#A83CEC
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2952

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

Preview Lab → · Contrast checker → · Palette generator →

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