#0C193D#0C193D

#0C193D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.072 H 265.9°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#0C193D
RGBrgb(12, 25, 61)
HSLhsl(224, 67%, 14%)
HSVhsv(224, 80%, 24%)
CMYKcmyk(80.3%, 59%, 0%, 76.1%)
CIE-LABlab(9.88, 9.29, -24.83)
CIE-LCHlch(9.88, 26.51, 290.51°)
OKLaboklab(22.64% -0.0051 -0.0713)
OKLCHoklch(22.64% 0.072 265.9)
XYZxyz(1.3413, 1.1102, 4.5576)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C193D #3D300C
analogous
#0C323D #0C193D #180C3D
triadic
#0C193D #3D0C19 #193D0C
tetradic
#0C193D #3D0C32 #3D300C #0C3D18
square
#0C193D #3D0C32 #3D300C #0C3D18
split-complementary
#0C193D #3D180C #323D0C
monochromatic
#050A1A #050A1A #0C193D #162E70 #2043A3

Accessibility & contrast

On white

17.18
#0C193D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0C193D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C193D
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C193D#FFFFFF#000000##FFFFFF
##0C193D1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c193d;
/* rgb */ color: rgb(12, 25, 61);
/* oklch */ color: oklch(22.6% 0.072 265.9);
Tailwind
colors: {
  custom: {
    50: '#525573',
    500: '#0c193d',
    950: '#000000',
  },
}
SCSS
$custom: #0c193d;
$custom-light: #525573;
$custom-dark: #000000;
JSON
{
  "hex": "#0c193d",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 61
  },
  "hsl": {
    "h": 224.082,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22642,
    "c": 0.07151,
    "h": 265.9
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#0C193D
secondary
#79652C
accent
#BC3EEA
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0C193D

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

Preview Lab → · Contrast checker → · Palette generator →

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