#0C193E#0C193E

#0C193E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.073 H 266.1°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#0C193E
RGBrgb(12, 25, 62)
HSLhsl(224, 68%, 15%)
HSVhsv(224, 81%, 24%)
CMYKcmyk(80.6%, 59.7%, 0%, 75.7%)
CIE-LABlab(9.96, 9.73, -25.40)
CIE-LCHlch(9.96, 27.20, 290.96°)
OKLaboklab(22.73% -0.005 -0.073)
OKLCHoklch(22.73% 0.073 266.1)
XYZxyz(1.3684, 1.1211, 4.7008)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C193E #3E310C
analogous
#0C323E #0C193E #180C3E
triadic
#0C193E #3E0C19 #193E0C
tetradic
#0C193E #3E0C32 #3E310C #0C3E18
square
#0C193E #3E0C32 #3E310C #0C3E18
split-complementary
#0C193E #3E180C #323E0C
monochromatic
#050A1A #050A1A #0C193E #162E71 #2042A5

Accessibility & contrast

On white

17.15
#0C193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C193E
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C193E#FFFFFF#000000##FFFFFF
##0C193E1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c193e;
/* rgb */ color: rgb(12, 25, 62);
/* oklch */ color: oklch(22.7% 0.073 266.1);
Tailwind
colors: {
  custom: {
    50: '#535573',
    500: '#0c193e',
    950: '#000000',
  },
}
SCSS
$custom: #0c193e;
$custom-light: #535573;
$custom-dark: #000000;
JSON
{
  "hex": "#0c193e",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 224.4,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22732,
    "c": 0.07319,
    "h": 266.1
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#0C193E
secondary
#7A662C
accent
#BD3DEA
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0C193E

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

Preview Lab → · Contrast checker → · Palette generator →

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