#0F1C49#0F1C49

#0F1C49 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.086 H 267.5°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#0F1C49
RGBrgb(15, 28, 73)
HSLhsl(227, 66%, 17%)
HSVhsv(227, 79%, 29%)
CMYKcmyk(79.5%, 61.6%, 0%, 71.4%)
CIE-LABlab(12.04, 12.75, -29.73)
CIE-LCHlch(12.04, 32.35, 293.22°)
OKLaboklab(24.65% -0.0037 -0.0856)
OKLCHoklch(24.65% 0.086 267.5)
XYZxyz(1.8144, 1.4129, 6.4791)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C49 #493C0F
analogous
#0F3949 #0F1C49 #1F0F49
triadic
#0F1C49 #490F1C #1C490F
tetradic
#0F1C49 #490F39 #493C0F #0F491F
square
#0F1C49 #490F39 #493C0F #0F491F
split-complementary
#0F1C49 #491F0F #39490F
monochromatic
#050A19 #050A19 #0F1C49 #192F7C #2443AF

Accessibility & contrast

On white

16.37
#0F1C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1C49
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C49#FFFFFF#000000##FFFFFF
##0F1C491.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1c49;
/* rgb */ color: rgb(15, 28, 73);
/* oklch */ color: oklch(24.6% 0.086 267.5);
Tailwind
colors: {
  custom: {
    50: '#57577c',
    500: '#0f1c49',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c49;
$custom-light: #57577c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c49",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 226.552,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2465,
    "c": 0.08572,
    "h": 267.5
  },
  "luminance": 0.01413
}

Semantic roles & 50–950 ramp

primary
#0F1C49
secondary
#837130
accent
#C33FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1C49

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

Preview Lab → · Contrast checker → · Palette generator →

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