#0F195E#0F195E

#0F195E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.122 H 269.0°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#0F195E
RGBrgb(15, 25, 94)
HSLhsl(232, 72%, 21%)
HSVhsv(232, 84%, 37%)
CMYKcmyk(84%, 73.4%, 0%, 63.1%)
CIE-LABlab(13.26, 23.85, -42.03)
CIE-LCHlch(13.26, 48.32, 299.57°)
OKLaboklab(26.19% -0.0021 -0.1217)
OKLCHoklch(26.19% 0.122 269)
XYZxyz(2.5643, 1.6047, 10.7621)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F195E #5E540F
analogous
#0F415E #0F195E #2D0F5E
triadic
#0F195E #5E0F19 #195E0F
tetradic
#0F195E #5E0F41 #5E540F #0F5E2D
square
#0F195E #5E0F41 #5E540F #0F5E2D
split-complementary
#0F195E #5E2D0F #415E0F
monochromatic
#04071A #070B29 #0F195E #172793 #2035C8

Accessibility & contrast

On white

15.90
#0F195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F195E
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F195E#FFFFFF#000000##FFFFFF
##0F195E1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f195e;
/* rgb */ color: rgb(15, 25, 94);
/* oklch */ color: oklch(26.2% 0.122 269.0);
Tailwind
colors: {
  custom: {
    50: '#5d558c',
    500: '#0f195e',
    950: '#000000',
  },
}
SCSS
$custom: #0f195e;
$custom-light: #5d558c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f195e",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 232.405,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26186,
    "c": 0.12172,
    "h": 269
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#0F195E
secondary
#978A31
accent
#D839EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F195E

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

Preview Lab → · Contrast checker → · Palette generator →

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