#0C133A#0C133A

#0C133A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.076 H 270.7°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#0C133A
RGBrgb(12, 19, 58)
HSLhsl(231, 66%, 14%)
HSVhsv(231, 79%, 23%)
CMYKcmyk(79.3%, 67.2%, 0%, 77.3%)
CIE-LABlab(7.67, 12.69, -26.25)
CIE-LCHlch(7.67, 29.16, 295.79°)
OKLaboklab(20.89% 0.0009 -0.0757)
OKLCHoklch(20.89% 0.076 270.7)
XYZxyz(1.1480, 0.8493, 4.1056)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C133A #3A330C
analogous
#0C2A3A #0C133A #1C0C3A
triadic
#0C133A #3A0C13 #133A0C
tetradic
#0C133A #3A0C2A #3A330C #0C3A1C
square
#0C133A #3A0C2A #3A330C #0C3A1C
split-complementary
#0C133A #3A1C0C #2A3A0C
monochromatic
#050819 #050819 #0C133A #16246D #21349F

Accessibility & contrast

On white

17.95
#0C133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0C133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C133A
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C133A#FFFFFF#000000##FFFFFF
##0C133A1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c133a;
/* rgb */ color: rgb(12, 19, 58);
/* oklch */ color: oklch(20.9% 0.076 270.7);
Tailwind
colors: {
  custom: {
    50: '#525070',
    500: '#0c133a',
    950: '#000000',
  },
}
SCSS
$custom: #0c133a;
$custom-light: #525070;
$custom-dark: #000000;
JSON
{
  "hex": "#0c133a",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 230.87,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20894,
    "c": 0.07567,
    "h": 270.7
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#0C133A
secondary
#766B2C
accent
#CF3FE9
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0C133A

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

Preview Lab → · Contrast checker → · Palette generator →

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