#0F195A#0F195A

#0F195A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.116 H 269.2°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#0F195A
RGBrgb(15, 25, 90)
HSLhsl(232, 71%, 21%)
HSVhsv(232, 83%, 35%)
CMYKcmyk(83.3%, 72.2%, 0%, 64.7%)
CIE-LABlab(12.83, 22.22, -40.05)
CIE-LCHlch(12.83, 45.80, 299.02°)
OKLaboklab(25.74% -0.0017 -0.1159)
OKLCHoklch(25.74% 0.116 269.2)
XYZxyz(2.3895, 1.5347, 9.8412)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F195A #5A500F
analogous
#0F3E5A #0F195A #2A0F5A
triadic
#0F195A #5A0F19 #195A0F
tetradic
#0F195A #5A0F3E #5A500F #0F5A2A
square
#0F195A #5A0F3E #5A500F #0F5A2A
split-complementary
#0F195A #5A2A0F #3E5A0F
monochromatic
#04071A #060A26 #0F195A #18288E #2036C3

Accessibility & contrast

On white

16.07
#0F195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F195A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F195A
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F195A#FFFFFF#000000##FFFFFF
##0F195A1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f195a;
/* rgb */ color: rgb(15, 25, 90);
/* oklch */ color: oklch(25.7% 0.116 269.2);
Tailwind
colors: {
  custom: {
    50: '#5c5589',
    500: '#0f195a',
    950: '#000000',
  },
}
SCSS
$custom: #0f195a;
$custom-light: #5c5589;
$custom-dark: #000000;
JSON
{
  "hex": "#0f195a",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 232,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25742,
    "c": 0.11595,
    "h": 269.2
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#0F195A
secondary
#948631
accent
#D63AEE
background
#F5F5F8
surface
#E9E8F0
border
#C5C4CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F195A

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

Preview Lab → · Contrast checker → · Palette generator →

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