#0F1E46#0F1E46

#0F1E46 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.078 H 265.6°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#0F1E46
RGBrgb(15, 30, 70)
HSLhsl(224, 65%, 17%)
HSVhsv(224, 79%, 27%)
CMYKcmyk(78.6%, 57.1%, 0%, 72.5%)
CIE-LABlab(12.43, 9.90, -27.02)
CIE-LCHlch(12.43, 28.78, 290.12°)
OKLaboklab(24.86% -0.006 -0.0776)
OKLCHoklch(24.86% 0.078 265.6)
XYZxyz(1.7664, 1.4721, 5.9842)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E46 #46370F
analogous
#0F3A46 #0F1E46 #1C0F46
triadic
#0F1E46 #460F1E #1E460F
tetradic
#0F1E46 #460F3A #46370F #0F461C
square
#0F1E46 #460F3A #46370F #0F461C
split-complementary
#0F1E46 #461C0F #3A460F
monochromatic
#050B19 #050B19 #0F1E46 #1A3478 #2549AB

Accessibility & contrast

On white

16.22
#0F1E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F1E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E46
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E46#FFFFFF#000000##FFFFFF
##0F1E461.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062347
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1e46;
/* rgb */ color: rgb(15, 30, 70);
/* oklch */ color: oklch(24.9% 0.078 265.6);
Tailwind
colors: {
  custom: {
    50: '#56597a',
    500: '#0f1e46',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e46;
$custom-light: #56597a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e46",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 223.636,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24861,
    "c": 0.07787,
    "h": 265.6
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#0F1E46
secondary
#806B30
accent
#BA40E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1E46

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

Preview Lab → · Contrast checker → · Palette generator →

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