#0F2A52#0F2A52

#0F2A52 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.080 H 258.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0F2A52
RGBrgb(15, 42, 82)
HSLhsl(216, 69%, 19%)
HSVhsv(216, 82%, 32%)
CMYKcmyk(81.7%, 48.8%, 0%, 67.8%)
CIE-LABlab(17.30, 6.08, -27.39)
CIE-LCHlch(17.30, 28.06, 282.52°)
OKLaboklab(28.89% -0.0162 -0.0785)
OKLCHoklch(28.89% 0.08 258.4)
XYZxyz(2.5474, 2.3664, 8.3035)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A52 #52370F
analogous
#0F4C52 #0F2A52 #160F52
triadic
#0F2A52 #520F2A #2A520F
tetradic
#0F2A52 #520F4C #52370F #0F5216
square
#0F2A52 #520F4C #52370F #0F5216
split-complementary
#0F2A52 #52160F #4C520F
monochromatic
#050D1A #06101E #0F2A52 #184486 #225FB9

Accessibility & contrast

On white

14.25
#0F2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A52
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A52#FFFFFF#000000##FFFFFF
##0F2A521.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#082851
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2a52;
/* rgb */ color: rgb(15, 42, 82);
/* oklch */ color: oklch(28.9% 0.080 258.4);
Tailwind
colors: {
  custom: {
    50: '#586383',
    500: '#0f2a52',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a52;
$custom-light: #586383;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a52",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 215.821,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2889,
    "c": 0.08013,
    "h": 258.4
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#0F2A52
secondary
#8C6731
accent
#A53CEC
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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