#0C193A#0C193A

#0C193A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.066 H 265.2°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#0C193A
RGBrgb(12, 25, 58)
HSLhsl(223, 66%, 14%)
HSVhsv(223, 79%, 23%)
CMYKcmyk(79.3%, 56.9%, 0%, 77.3%)
CIE-LABlab(9.63, 7.94, -23.08)
CIE-LCHlch(9.63, 24.41, 288.98°)
OKLaboklab(22.38% -0.0055 -0.0662)
OKLCHoklch(22.38% 0.066 265.2)
XYZxyz(1.2627, 1.0788, 4.1438)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C193A #3A2D0C
analogous
#0C303A #0C193A #160C3A
triadic
#0C193A #3A0C19 #193A0C
tetradic
#0C193A #3A0C30 #3A2D0C #0C3A16
square
#0C193A #3A0C30 #3A2D0C #0C3A16
split-complementary
#0C193A #3A160C #303A0C
monochromatic
#050B19 #050B19 #0C193A #162F6D #21459F

Accessibility & contrast

On white

17.27
#0C193A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C193A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C193A#FFFFFF#000000##FFFFFF
##0C193A1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3B
Deuteranopia (green-blind)
#001939
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c193a;
/* rgb */ color: rgb(12, 25, 58);
/* oklch */ color: oklch(22.4% 0.066 265.2);
Tailwind
colors: {
  custom: {
    50: '#525570',
    500: '#0c193a',
    950: '#000000',
  },
}
SCSS
$custom: #0c193a;
$custom-light: #525570;
$custom-dark: #000000;
JSON
{
  "hex": "#0c193a",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 58
  },
  "hsl": {
    "h": 223.043,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22375,
    "c": 0.06643,
    "h": 265.2
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#0C193A
secondary
#76612C
accent
#B93FE9
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0C193A

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

Preview Lab → · Contrast checker → · Palette generator →

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