#0F2454#0F2454

#0F2454 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.092 H 263.7°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#0F2454
RGBrgb(15, 36, 84)
HSLhsl(222, 70%, 19%)
HSVhsv(222, 82%, 33%)
CMYKcmyk(82.1%, 57.1%, 0%, 67.1%)
CIE-LABlab(15.50, 11.46, -31.64)
CIE-LCHlch(15.50, 33.65, 289.90°)
OKLaboklab(27.56% -0.0101 -0.0911)
OKLCHoklch(27.56% 0.092 263.7)
XYZxyz(2.4275, 2.0031, 8.6445)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2454 #543F0F
analogous
#0F4754 #0F2454 #1D0F54
triadic
#0F2454 #540F24 #24540F
tetradic
#0F2454 #540F47 #543F0F #0F541D
square
#0F2454 #540F47 #543F0F #0F541D
split-complementary
#0F2454 #541D0F #47540F
monochromatic
#050B1A #060E20 #0F2454 #183A88 #2251BC

Accessibility & contrast

On white

14.99
#0F2454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F2454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2454
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2454#FFFFFF#000000##FFFFFF
##0F24541.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042A56
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2454;
/* rgb */ color: rgb(15, 36, 84);
/* oklch */ color: oklch(27.6% 0.092 263.7);
Tailwind
colors: {
  custom: {
    50: '#595e84',
    500: '#0f2454',
    950: '#000000',
  },
}
SCSS
$custom: #0f2454;
$custom-light: #595e84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2454",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 84
  },
  "hsl": {
    "h": 221.739,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27561,
    "c": 0.09167,
    "h": 263.7
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#0F2454
secondary
#8E7231
accent
#B73BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2454

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

Preview Lab → · Contrast checker → · Palette generator →

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