#0C194D#0C194D

#0C194D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.097 H 267.5°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#0C194D
RGBrgb(12, 25, 77)
HSLhsl(228, 73%, 17%)
HSVhsv(228, 84%, 30%)
CMYKcmyk(84.4%, 67.5%, 0%, 69.8%)
CIE-LABlab(11.34, 16.38, -33.65)
CIE-LCHlch(11.34, 37.42, 295.95°)
OKLaboklab(24.2% -0.0042 -0.0973)
OKLCHoklch(24.2% 0.097 267.5)
XYZxyz(1.8383, 1.3090, 7.1755)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C194D #4D400C
analogous
#0C3A4D #0C194D #1F0C4D
triadic
#0C194D #4D0C19 #194D0C
tetradic
#0C194D #4D0C3A #4D400C #0C4D1F
square
#0C194D #4D0C3A #4D400C #0C4D1F
split-complementary
#0C194D #4D1F0C #3A4D0C
monochromatic
#04091A #04091A #0C194D #142A82 #1D3BB7

Accessibility & contrast

On white

16.64
#0C194D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0C194D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C194D
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C194D#FFFFFF#000000##FFFFFF
##0C194D1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001B4C
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c194d;
/* rgb */ color: rgb(12, 25, 77);
/* oklch */ color: oklch(24.2% 0.097 267.5);
Tailwind
colors: {
  custom: {
    50: '#57557f',
    500: '#0c194d',
    950: '#000000',
  },
}
SCSS
$custom: #0c194d;
$custom-light: #57557f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c194d",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 77
  },
  "hsl": {
    "h": 228,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24196,
    "c": 0.09735,
    "h": 267.5
  },
  "luminance": 0.01309
}

Semantic roles & 50–950 ramp

primary
#0C194D
secondary
#89762C
accent
#CB38F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0C194D

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

Preview Lab → · Contrast checker → · Palette generator →

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