#0F1E54#0F1E54

#0F1E54 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.100 H 267.1°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#0F1E54
RGBrgb(15, 30, 84)
HSLhsl(227, 70%, 19%)
HSVhsv(227, 82%, 33%)
CMYKcmyk(82.1%, 64.3%, 0%, 67.1%)
CIE-LABlab(13.65, 16.00, -34.65)
CIE-LCHlch(13.65, 38.17, 294.78°)
OKLaboklab(26.17% -0.005 -0.1001)
OKLCHoklch(26.17% 0.1 267.1)
XYZxyz(2.2609, 1.6699, 8.5890)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E54 #54450F
analogous
#0F4154 #0F1E54 #230F54
triadic
#0F1E54 #540F1E #1E540F
tetradic
#0F1E54 #540F41 #54450F #0F5423
square
#0F1E54 #540F41 #54450F #0F5423
split-complementary
#0F1E54 #54230F #41540F
monochromatic
#05091A #060B20 #0F1E54 #183188 #2243BC

Accessibility & contrast

On white

15.74
#0F1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F1E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E54
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E54#FFFFFF#000000##FFFFFF
##0F1E541.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1e54;
/* rgb */ color: rgb(15, 30, 84);
/* oklch */ color: oklch(26.2% 0.100 267.1);
Tailwind
colors: {
  custom: {
    50: '#5a5985',
    500: '#0f1e54',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e54;
$custom-light: #5a5985;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e54",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 226.957,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26165,
    "c": 0.10019,
    "h": 267.1
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#0F1E54
secondary
#8E7A31
accent
#C63BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1E54

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

Preview Lab → · Contrast checker → · Palette generator →

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