#0F195F#0F195F

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

Color values

HEX#0F195F
RGBrgb(15, 25, 95)
HSLhsl(233, 73%, 22%)
HSVhsv(233, 84%, 37%)
CMYKcmyk(84.2%, 73.7%, 0%, 62.7%)
CIE-LABlab(13.37, 24.25, -42.51)
CIE-LCHlch(13.37, 48.94, 299.70°)
OKLaboklab(26.3% -0.0022 -0.1231)
OKLCHoklch(26.3% 0.123 269)
XYZxyz(2.6095, 1.6227, 10.9999)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F195F #5F550F
analogous
#0F415F #0F195F #2D0F5F
triadic
#0F195F #5F0F19 #195F0F
tetradic
#0F195F #5F0F41 #5F550F #0F5F2D
square
#0F195F #5F0F41 #5F550F #0F5F2D
split-complementary
#0F195F #5F2D0F #415F0F
monochromatic
#04071A #070B2A #0F195F #172794 #2035C9

Accessibility & contrast

On white

15.85
#0F195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F195F
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F195F#FFFFFF#000000##FFFFFF
##0F195F1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f195f;
/* rgb */ color: rgb(15, 25, 95);
/* oklch */ color: oklch(26.3% 0.123 269.0);
Tailwind
colors: {
  custom: {
    50: '#5e558d',
    500: '#0f195f',
    950: '#000000',
  },
}
SCSS
$custom: #0f195f;
$custom-light: #5e558d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f195f",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 232.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26299,
    "c": 0.12314,
    "h": 269
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#0F195F
secondary
#988B32
accent
#D938EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F195F

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

Preview Lab → · Contrast checker → · Palette generator →

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