#0F2554#0F2554

#0F2554 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.090 H 263.0°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#0F2554
RGBrgb(15, 37, 84)
HSLhsl(221, 70%, 19%)
HSVhsv(221, 82%, 33%)
CMYKcmyk(82.1%, 56%, 0%, 67.1%)
CIE-LABlab(15.82, 10.70, -31.13)
CIE-LCHlch(15.82, 32.91, 288.97°)
OKLaboklab(27.8% -0.011 -0.0896)
OKLCHoklch(27.8% 0.09 263)
XYZxyz(2.4582, 2.0645, 8.6547)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2554 #543E0F
analogous
#0F4854 #0F2554 #1C0F54
triadic
#0F2554 #540F25 #25540F
tetradic
#0F2554 #540F48 #543E0F #0F541C
square
#0F2554 #540F48 #543E0F #0F541C
split-complementary
#0F2554 #541C0F #48540F
monochromatic
#050B1A #060E20 #0F2554 #183C88 #2253BC

Accessibility & contrast

On white

14.86
#0F2554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F2554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2554
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2554#FFFFFF#000000##FFFFFF
##0F25541.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2554;
/* rgb */ color: rgb(15, 37, 84);
/* oklch */ color: oklch(27.8% 0.090 263.0);
Tailwind
colors: {
  custom: {
    50: '#595f84',
    500: '#0f2554',
    950: '#000000',
  },
}
SCSS
$custom: #0f2554;
$custom-light: #595f84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2554",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 84
  },
  "hsl": {
    "h": 220.87,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27803,
    "c": 0.09024,
    "h": 263
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#0F2554
secondary
#8E7031
accent
#B43BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2554

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

Preview Lab → · Contrast checker → · Palette generator →

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