#0F195D#0F195D

#0F195D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.1% C 0.120 H 269.1°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#0F195D
RGBrgb(15, 25, 93)
HSLhsl(232, 72%, 21%)
HSVhsv(232, 84%, 36%)
CMYKcmyk(83.9%, 73.1%, 0%, 63.5%)
CIE-LABlab(13.15, 23.44, -41.54)
CIE-LCHlch(13.15, 47.70, 299.44°)
OKLaboklab(26.07% -0.002 -0.1203)
OKLCHoklch(26.07% 0.12 269.1)
XYZxyz(2.5197, 1.5868, 10.5273)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F195D #5D530F
analogous
#0F405D #0F195D #2C0F5D
triadic
#0F195D #5D0F19 #195D0F
tetradic
#0F195D #5D0F40 #5D530F #0F5D2C
square
#0F195D #5D0F40 #5D530F #0F5D2C
split-complementary
#0F195D #5D2C0F #405D0F
monochromatic
#04071A #060B28 #0F195D #172792 #2035C6

Accessibility & contrast

On white

15.94
#0F195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F195D
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F195D#FFFFFF#000000##FFFFFF
##0F195D1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f195d;
/* rgb */ color: rgb(15, 25, 93);
/* oklch */ color: oklch(26.1% 0.120 269.1);
Tailwind
colors: {
  custom: {
    50: '#5d558c',
    500: '#0f195d',
    950: '#000000',
  },
}
SCSS
$custom: #0f195d;
$custom-light: #5d558c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f195d",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 232.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26074,
    "c": 0.12029,
    "h": 269.1
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#0F195D
secondary
#968931
accent
#D839EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F195D

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

Preview Lab → · Contrast checker → · Palette generator →

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