#0F1A49#0F1A49

#0F1A49 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.089 H 268.8°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#0F1A49
RGBrgb(15, 26, 73)
HSLhsl(229, 66%, 17%)
HSVhsv(229, 79%, 29%)
CMYKcmyk(79.5%, 64.4%, 0%, 71.4%)
CIE-LABlab(11.42, 14.29, -30.74)
CIE-LCHlch(11.42, 33.90, 294.94°)
OKLaboklab(24.19% -0.0019 -0.0886)
OKLCHoklch(24.19% 0.089 268.8)
XYZxyz(1.7686, 1.3212, 6.4638)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A49 #493E0F
analogous
#0F3749 #0F1A49 #210F49
triadic
#0F1A49 #490F1A #1A490F
tetradic
#0F1A49 #490F37 #493E0F #0F4921
square
#0F1A49 #490F37 #493E0F #0F4921
split-complementary
#0F1A49 #49210F #37490F
monochromatic
#050919 #050919 #0F1A49 #192C7C #243EAF

Accessibility & contrast

On white

16.61
#0F1A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F1A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A49
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A49#FFFFFF#000000##FFFFFF
##0F1A491.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1a49;
/* rgb */ color: rgb(15, 26, 73);
/* oklch */ color: oklch(24.2% 0.089 268.8);
Tailwind
colors: {
  custom: {
    50: '#57567c',
    500: '#0f1a49',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a49;
$custom-light: #57567c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a49",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 228.621,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24185,
    "c": 0.08866,
    "h": 268.8
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#0F1A49
secondary
#837430
accent
#C93FE9
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1A49

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

Preview Lab → · Contrast checker → · Palette generator →

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