#0C194A#0C194A

#0C194A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.093 H 267.4°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#0C194A
RGBrgb(12, 25, 74)
HSLhsl(227, 72%, 17%)
HSVhsv(227, 84%, 29%)
CMYKcmyk(83.8%, 66.2%, 0%, 71%)
CIE-LABlab(11.05, 15.07, -32.05)
CIE-LCHlch(11.05, 35.42, 295.18°)
OKLaboklab(23.89% -0.0042 -0.0926)
OKLCHoklch(23.89% 0.093 267.4)
XYZxyz(1.7349, 1.2676, 6.6305)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C194A #4A3D0C
analogous
#0C384A #0C194A #1E0C4A
triadic
#0C194A #4A0C19 #194A0C
tetradic
#0C194A #4A0C38 #4A3D0C #0C4A1E
square
#0C194A #4A0C38 #4A3D0C #0C4A1E
split-complementary
#0C194A #4A1E0C #384A0C
monochromatic
#04091A #04091A #0C194A #152B7F #1D3DB3

Accessibility & contrast

On white

16.75
#0C194A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0C194A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C194A
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C194A#FFFFFF#000000##FFFFFF
##0C194A1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c194a;
/* rgb */ color: rgb(12, 25, 74);
/* oklch */ color: oklch(23.9% 0.093 267.4);
Tailwind
colors: {
  custom: {
    50: '#56557d',
    500: '#0c194a',
    950: '#000000',
  },
}
SCSS
$custom: #0c194a;
$custom-light: #56557d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c194a",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 74
  },
  "hsl": {
    "h": 227.419,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23889,
    "c": 0.09268,
    "h": 267.4
  },
  "luminance": 0.01268
}

Semantic roles & 50–950 ramp

primary
#0C194A
secondary
#86732C
accent
#C939EF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0C194A

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

Preview Lab → · Contrast checker → · Palette generator →

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