#0C193F#0C193F

#0C193F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.075 H 266.3°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#0C193F
RGBrgb(12, 25, 63)
HSLhsl(225, 68%, 15%)
HSVhsv(225, 81%, 25%)
CMYKcmyk(81%, 60.3%, 0%, 75.3%)
CIE-LABlab(10.05, 10.18, -25.97)
CIE-LCHlch(10.05, 27.89, 291.40°)
OKLaboklab(22.82% -0.0049 -0.0747)
OKLCHoklch(22.82% 0.075 266.3)
XYZxyz(1.3961, 1.1322, 4.8466)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C193F #3F320C
analogous
#0C333F #0C193F #190C3F
triadic
#0C193F #3F0C19 #193F0C
tetradic
#0C193F #3F0C33 #3F320C #0C3F19
square
#0C193F #3F0C33 #3F320C #0C3F19
split-complementary
#0C193F #3F190C #333F0C
monochromatic
#050A1A #050A1A #0C193F #162D72 #2042A6

Accessibility & contrast

On white

17.12
#0C193F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0C193F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C193F
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C193F#FFFFFF#000000##FFFFFF
##0C193F1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0c193f;
/* rgb */ color: rgb(12, 25, 63);
/* oklch */ color: oklch(22.8% 0.075 266.3);
Tailwind
colors: {
  custom: {
    50: '#535574',
    500: '#0c193f',
    950: '#000000',
  },
}
SCSS
$custom: #0c193f;
$custom-light: #535574;
$custom-dark: #000000;
JSON
{
  "hex": "#0c193f",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 63
  },
  "hsl": {
    "h": 224.706,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22824,
    "c": 0.07487,
    "h": 266.3
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#0C193F
secondary
#7B672C
accent
#BF3DEB
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0C193F

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

Preview Lab → · Contrast checker → · Palette generator →

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