#0F1E45#0F1E45

#0F1E45 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.076 H 265.4°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#0F1E45
RGBrgb(15, 30, 69)
HSLhsl(223, 64%, 16%)
HSVhsv(223, 78%, 27%)
CMYKcmyk(78.3%, 56.5%, 0%, 72.9%)
CIE-LABlab(12.35, 9.46, -26.46)
CIE-LCHlch(12.35, 28.10, 289.67°)
OKLaboklab(24.77% -0.0062 -0.076)
OKLCHoklch(24.77% 0.076 265.4)
XYZxyz(1.7351, 1.4596, 5.8194)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E45 #45360F
analogous
#0F3945 #0F1E45 #1B0F45
triadic
#0F1E45 #450F1E #1E450F
tetradic
#0F1E45 #450F39 #45360F #0F451B
square
#0F1E45 #450F39 #45360F #0F451B
split-complementary
#0F1E45 #451B0F #39450F
monochromatic
#050B19 #050B19 #0F1E45 #1A3477 #254AAA

Accessibility & contrast

On white

16.25
#0F1E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1E45
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E45#FFFFFF#000000##FFFFFF
##0F1E451.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1e45;
/* rgb */ color: rgb(15, 30, 69);
/* oklch */ color: oklch(24.8% 0.076 265.4);
Tailwind
colors: {
  custom: {
    50: '#565979',
    500: '#0f1e45',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e45;
$custom-light: #565979;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e45",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 223.333,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24774,
    "c": 0.07622,
    "h": 265.4
  },
  "luminance": 0.0146
}

Semantic roles & 50–950 ramp

primary
#0F1E45
secondary
#7F6930
accent
#B941E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1E45

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

Preview Lab → · Contrast checker → · Palette generator →

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