#0F2054#0F2054

#0F2054 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.097 H 266.1°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#0F2054
RGBrgb(15, 32, 84)
HSLhsl(225, 70%, 19%)
HSVhsv(225, 82%, 33%)
CMYKcmyk(82.1%, 61.9%, 0%, 67.1%)
CIE-LABlab(14.26, 14.48, -33.67)
CIE-LCHlch(14.26, 36.65, 293.28°)
OKLaboklab(26.62% -0.0066 -0.0971)
OKLCHoklch(26.62% 0.097 266.1)
XYZxyz(2.3132, 1.7744, 8.6064)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2054 #54430F
analogous
#0F4354 #0F2054 #200F54
triadic
#0F2054 #540F20 #20540F
tetradic
#0F2054 #540F43 #54430F #0F5420
square
#0F2054 #540F43 #54430F #0F5420
split-complementary
#0F2054 #54200F #43540F
monochromatic
#050A1A #060C20 #0F2054 #183488 #2248BC

Accessibility & contrast

On white

15.50
#0F2054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F2054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2054
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2054#FFFFFF#000000##FFFFFF
##0F20541.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002153
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f2054;
/* rgb */ color: rgb(15, 32, 84);
/* oklch */ color: oklch(26.6% 0.097 266.1);
Tailwind
colors: {
  custom: {
    50: '#5a5b85',
    500: '#0f2054',
    950: '#000000',
  },
}
SCSS
$custom: #0f2054;
$custom-light: #5a5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2054",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 225.217,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26618,
    "c": 0.09737,
    "h": 266.1
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#0F2054
secondary
#8E7731
accent
#C13BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2054

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

Preview Lab → · Contrast checker → · Palette generator →

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