#0F1B49#0F1B49

#0F1B49 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.087 H 268.2°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#0F1B49
RGBrgb(15, 27, 73)
HSLhsl(228, 66%, 17%)
HSVhsv(228, 79%, 29%)
CMYKcmyk(79.5%, 63%, 0%, 71.4%)
CIE-LABlab(11.73, 13.52, -30.24)
CIE-LCHlch(11.73, 33.12, 294.09°)
OKLaboklab(24.42% -0.0028 -0.0871)
OKLCHoklch(24.42% 0.087 268.2)
XYZxyz(1.7911, 1.3663, 6.4714)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B49 #493D0F
analogous
#0F3849 #0F1B49 #200F49
triadic
#0F1B49 #490F1B #1B490F
tetradic
#0F1B49 #490F38 #493D0F #0F4920
square
#0F1B49 #490F38 #493D0F #0F4920
split-complementary
#0F1B49 #49200F #38490F
monochromatic
#050919 #050919 #0F1B49 #192E7C #2441AF

Accessibility & contrast

On white

16.49
#0F1B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F1B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1B49
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B49#FFFFFF#000000##FFFFFF
##0F1B491.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1b49;
/* rgb */ color: rgb(15, 27, 73);
/* oklch */ color: oklch(24.4% 0.087 268.2);
Tailwind
colors: {
  custom: {
    50: '#57567c',
    500: '#0f1b49',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b49;
$custom-light: #57567c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b49",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 227.586,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24416,
    "c": 0.0872,
    "h": 268.2
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#0F1B49
secondary
#837230
accent
#C63FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1B49

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

Preview Lab → · Contrast checker → · Palette generator →

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