#0F2A54#0F2A54

#0F2A54 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.083 H 259.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0F2A54
RGBrgb(15, 42, 84)
HSLhsl(217, 70%, 19%)
HSVhsv(217, 82%, 33%)
CMYKcmyk(82.1%, 50%, 0%, 67.1%)
CIE-LABlab(17.45, 6.96, -28.51)
CIE-LCHlch(17.45, 29.34, 283.71°)
OKLaboklab(29.05% -0.0157 -0.0818)
OKLCHoklch(29.05% 0.083 259.1)
XYZxyz(2.6246, 2.3973, 8.7102)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A54 #54390F
analogous
#0F4D54 #0F2A54 #170F54
triadic
#0F2A54 #540F2A #2A540F
tetradic
#0F2A54 #540F4D #54390F #0F5417
square
#0F2A54 #540F4D #54390F #0F5417
split-complementary
#0F2A54 #54170F #4D540F
monochromatic
#050D1A #061020 #0F2A54 #184488 #225EBC

Accessibility & contrast

On white

14.19
#0F2A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A54
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A54#FFFFFF#000000##FFFFFF
##0F2A541.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E56
Deuteranopia (green-blind)
#052853
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2a54;
/* rgb */ color: rgb(15, 42, 84);
/* oklch */ color: oklch(29.0% 0.083 259.1);
Tailwind
colors: {
  custom: {
    50: '#596384',
    500: '#0f2a54',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a54;
$custom-light: #596384;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a54",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 216.522,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29048,
    "c": 0.08326,
    "h": 259.1
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#0F2A54
secondary
#8E6A31
accent
#A73BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2A54

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

Preview Lab → · Contrast checker → · Palette generator →

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