#0F1B68#0F1B68

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

Color values

HEX#0F1B68
RGBrgb(15, 27, 104)
HSLhsl(232, 75%, 23%)
HSVhsv(232, 86%, 41%)
CMYKcmyk(85.6%, 74%, 0%, 59.2%)
CIE-LABlab(14.87, 26.47, -46.00)
CIE-LCHlch(14.87, 53.07, 299.92°)
OKLaboklab(27.68% -0.0041 -0.1333)
OKLCHoklch(27.68% 0.133 268.2)
XYZxyz(3.0868, 1.8845, 13.2951)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B68 #685C0F
analogous
#0F4768 #0F1B68 #2F0F68
triadic
#0F1B68 #680F1B #1B680F
tetradic
#0F1B68 #680F47 #685C0F #0F682F
square
#0F1B68 #680F47 #685C0F #0F682F
split-complementary
#0F1B68 #682F0F #47680F
monochromatic
#04071B #070D33 #0F1B68 #17299D #1E37D3

Accessibility & contrast

On white

15.25
#0F1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1B68
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B68#FFFFFF#000000##FFFFFF
##0F1B681.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002167
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f1b68;
/* rgb */ color: rgb(15, 27, 104);
/* oklch */ color: oklch(27.7% 0.133 268.2);
Tailwind
colors: {
  custom: {
    50: '#605794',
    500: '#0f1b68',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b68;
$custom-light: #605794;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b68",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 231.91,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27684,
    "c": 0.13334,
    "h": 268.2
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#0F1B68
secondary
#A19232
accent
#D836F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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