#0F196A#0F196A

#0F196A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.138 H 268.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#0F196A
RGBrgb(15, 25, 106)
HSLhsl(233, 75%, 24%)
HSVhsv(233, 86%, 42%)
CMYKcmyk(85.8%, 76.4%, 0%, 58.4%)
CIE-LABlab(14.61, 28.59, -47.74)
CIE-LCHlch(14.61, 55.65, 300.92°)
OKLaboklab(27.56% -0.0035 -0.1383)
OKLCHoklch(27.56% 0.138 268.6)
XYZxyz(3.1453, 1.8371, 13.8217)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F196A #6A600F
analogous
#0F466A #0F196A #320F6A
triadic
#0F196A #6A0F19 #196A0F
tetradic
#0F196A #6A0F46 #6A600F #0F6A32
square
#0F196A #6A0F46 #6A600F #0F6A32
split-complementary
#0F196A #6A320F #466A0F
monochromatic
#04061B #070C34 #0F196A #1726A0 #1E32D5

Accessibility & contrast

On white

15.36
#0F196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F196A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F196A#FFFFFF#000000##FFFFFF
##0F196A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f196a;
/* rgb */ color: rgb(15, 25, 106);
/* oklch */ color: oklch(27.6% 0.138 268.6);
Tailwind
colors: {
  custom: {
    50: '#615696',
    500: '#0f196a',
    950: '#000000',
  },
}
SCSS
$custom: #0f196a;
$custom-light: #615696;
$custom-dark: #000000;
JSON
{
  "hex": "#0f196a",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 233.407,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27563,
    "c": 0.13839,
    "h": 268.6
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#0F196A
secondary
#A29632
accent
#DD36F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F196A

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

Preview Lab → · Contrast checker → · Palette generator →

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