#0F1B6A#0F1B6A

#0F1B6A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.136 H 268.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#0F1B6A
RGBrgb(15, 27, 106)
HSLhsl(232, 75%, 24%)
HSVhsv(232, 86%, 42%)
CMYKcmyk(85.8%, 74.5%, 0%, 58.4%)
CIE-LABlab(15.09, 27.26, -46.94)
CIE-LCHlch(15.09, 54.28, 300.14°)
OKLaboklab(27.91% -0.0043 -0.136)
OKLCHoklch(27.91% 0.136 268.2)
XYZxyz(3.1896, 1.9257, 13.8365)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B6A #6A5E0F
analogous
#0F486A #0F1B6A #300F6A
triadic
#0F1B6A #6A0F1B #1B6A0F
tetradic
#0F1B6A #6A0F48 #6A5E0F #0F6A30
square
#0F1B6A #6A0F48 #6A5E0F #0F6A30
split-complementary
#0F1B6A #6A300F #486A0F
monochromatic
#04071B #070D34 #0F1B6A #1729A0 #1E36D5

Accessibility & contrast

On white

15.16
#0F1B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F1B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1B6A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B6A#FFFFFF#000000##FFFFFF
##0F1B6A1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f1b6a;
/* rgb */ color: rgb(15, 27, 106);
/* oklch */ color: oklch(27.9% 0.136 268.2);
Tailwind
colors: {
  custom: {
    50: '#615796',
    500: '#0f1b6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b6a;
$custom-light: #615796;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b6a",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 232.088,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27912,
    "c": 0.1361,
    "h": 268.2
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#0F1B6A
secondary
#A29432
accent
#D936F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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