#0F1B5A#0F1B5A

#0F1B5A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.113 H 268.5°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#0F1B5A
RGBrgb(15, 27, 90)
HSLhsl(230, 71%, 21%)
HSVhsv(230, 83%, 35%)
CMYKcmyk(83.3%, 70%, 0%, 64.7%)
CIE-LABlab(13.37, 20.77, -39.16)
CIE-LCHlch(13.37, 44.33, 297.94°)
OKLaboklab(26.14% -0.0029 -0.1133)
OKLCHoklch(26.14% 0.113 268.5)
XYZxyz(2.4338, 1.6233, 9.8559)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B5A #5A4E0F
analogous
#0F405A #0F1B5A #280F5A
triadic
#0F1B5A #5A0F1B #1B5A0F
tetradic
#0F1B5A #5A0F40 #5A4E0F #0F5A28
square
#0F1B5A #5A0F40 #5A4E0F #0F5A28
split-complementary
#0F1B5A #5A280F #405A0F
monochromatic
#04081A #060B26 #0F1B5A #182B8E #203AC3

Accessibility & contrast

On white

15.85
#0F1B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F1B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1B5A
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B5A#FFFFFF#000000##FFFFFF
##0F1B5A1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1b5a;
/* rgb */ color: rgb(15, 27, 90);
/* oklch */ color: oklch(26.1% 0.113 268.5);
Tailwind
colors: {
  custom: {
    50: '#5c5789',
    500: '#0f1b5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b5a;
$custom-light: #5c5789;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b5a",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 230.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2614,
    "c": 0.11335,
    "h": 268.5
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#0F1B5A
secondary
#948431
accent
#D13AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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