#0F195C#0F195C

#0F195C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.119 H 269.1°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#0F195C
RGBrgb(15, 25, 92)
HSLhsl(232, 72%, 21%)
HSVhsv(232, 84%, 36%)
CMYKcmyk(83.7%, 72.8%, 0%, 63.9%)
CIE-LABlab(13.04, 23.04, -41.04)
CIE-LCHlch(13.04, 47.07, 299.30°)
OKLaboklab(25.96% -0.0019 -0.1188)
OKLCHoklch(25.96% 0.119 269.1)
XYZxyz(2.4757, 1.5692, 10.2956)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F195C #5C520F
analogous
#0F3F5C #0F195C #2B0F5C
triadic
#0F195C #5C0F19 #195C0F
tetradic
#0F195C #5C0F3F #5C520F #0F5C2B
square
#0F195C #5C0F3F #5C520F #0F5C2B
split-complementary
#0F195C #5C2B0F #3F5C0F
monochromatic
#04071A #060B27 #0F195C #182791 #2036C5

Accessibility & contrast

On white

15.98
#0F195C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F195C
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F195C#FFFFFF#000000##FFFFFF
##0F195C1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f195c;
/* rgb */ color: rgb(15, 25, 92);
/* oklch */ color: oklch(26.0% 0.119 269.1);
Tailwind
colors: {
  custom: {
    50: '#5d558b',
    500: '#0f195c',
    950: '#000000',
  },
}
SCSS
$custom: #0f195c;
$custom-light: #5d558b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f195c",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 92
  },
  "hsl": {
    "h": 232.208,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25963,
    "c": 0.11884,
    "h": 269.1
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#0F195C
secondary
#958831
accent
#D739EF
background
#F5F5F8
surface
#EAE8F0
border
#C6C4CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F195C

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

Preview Lab → · Contrast checker → · Palette generator →

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