#0C194C#0C194C

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

Color values

HEX#0C194C
RGBrgb(12, 25, 76)
HSLhsl(228, 73%, 17%)
HSVhsv(228, 84%, 30%)
CMYKcmyk(84.2%, 67.1%, 0%, 70.2%)
CIE-LABlab(11.24, 15.94, -33.12)
CIE-LCHlch(11.24, 36.76, 295.70°)
OKLaboklab(24.09% -0.0042 -0.0957)
OKLCHoklch(24.09% 0.096 267.5)
XYZxyz(1.8033, 1.2950, 6.9910)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C194C #4C3F0C
analogous
#0C394C #0C194C #1F0C4C
triadic
#0C194C #4C0C19 #194C0C
tetradic
#0C194C #4C0C39 #4C3F0C #0C4C1F
square
#0C194C #4C0C39 #4C3F0C #0C4C1F
split-complementary
#0C194C #4C1F0C #394C0C
monochromatic
#04091A #04091A #0C194C #142A81 #1D3CB6

Accessibility & contrast

On white

16.68
#0C194C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C194C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C194C#FFFFFF#000000##FFFFFF
##0C194C1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#001B4B
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c194c;
/* rgb */ color: rgb(12, 25, 76);
/* oklch */ color: oklch(24.1% 0.096 267.5);
Tailwind
colors: {
  custom: {
    50: '#57557f',
    500: '#0c194c',
    950: '#000000',
  },
}
SCSS
$custom: #0c194c;
$custom-light: #57557f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c194c",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 76
  },
  "hsl": {
    "h": 227.813,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24093,
    "c": 0.0958,
    "h": 267.5
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#0C194C
secondary
#88752C
accent
#CA38EF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0C194C

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

Preview Lab → · Contrast checker → · Palette generator →

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