#0C133B#0C133B

#0C133B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.077 H 270.7°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#0C133B
RGBrgb(12, 19, 59)
HSLhsl(231, 66%, 14%)
HSVhsv(231, 80%, 23%)
CMYKcmyk(79.7%, 67.8%, 0%, 76.9%)
CIE-LABlab(7.76, 13.13, -26.82)
CIE-LCHlch(7.76, 29.86, 296.09°)
OKLaboklab(20.99% 0.0009 -0.0773)
OKLCHoklch(20.99% 0.077 270.7)
XYZxyz(1.1736, 0.8596, 4.2409)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C133B #3B340C
analogous
#0C2B3B #0C133B #1D0C3B
triadic
#0C133B #3B0C13 #133B0C
tetradic
#0C133B #3B0C2B #3B340C #0C3B1D
square
#0C133B #3B0C2B #3B340C #0C3B1D
split-complementary
#0C133B #3B1D0C #2B3B0C
monochromatic
#050819 #050819 #0C133B #16236E #2134A1

Accessibility & contrast

On white

17.92
#0C133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C133B
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C133B#FFFFFF#000000##FFFFFF
##0C133B1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c133b;
/* rgb */ color: rgb(12, 19, 59);
/* oklch */ color: oklch(21.0% 0.077 270.7);
Tailwind
colors: {
  custom: {
    50: '#525071',
    500: '#0c133b',
    950: '#000000',
  },
}
SCSS
$custom: #0c133b;
$custom-light: #525071;
$custom-dark: #000000;
JSON
{
  "hex": "#0c133b",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 231.064,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20994,
    "c": 0.07733,
    "h": 270.7
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#0C133B
secondary
#776C2C
accent
#D03FE9
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0C133B

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

Preview Lab → · Contrast checker → · Palette generator →

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