#0C133C#0C133C

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

Color values

HEX#0C133C
RGBrgb(12, 19, 60)
HSLhsl(231, 67%, 14%)
HSVhsv(231, 80%, 24%)
CMYKcmyk(80%, 68.3%, 0%, 76.5%)
CIE-LABlab(7.86, 13.58, -27.39)
CIE-LCHlch(7.86, 30.57, 296.38°)
OKLaboklab(21.1% 0.0009 -0.079)
OKLCHoklch(21.1% 0.079 270.7)
XYZxyz(1.1998, 0.8700, 4.3788)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C133C #3C350C
analogous
#0C2B3C #0C133C #1D0C3C
triadic
#0C133C #3C0C13 #133C0C
tetradic
#0C133C #3C0C2B #3C350C #0C3C1D
square
#0C133C #3C0C2B #3C350C #0C3C1D
split-complementary
#0C133C #3C1D0C #2B3C0C
monochromatic
#05081A #05081A #0C133C #16236F #2033A2

Accessibility & contrast

On white

17.89
#0C133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C133C
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C133C#FFFFFF#000000##FFFFFF
##0C133C1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c133c;
/* rgb */ color: rgb(12, 19, 60);
/* oklch */ color: oklch(21.1% 0.079 270.7);
Tailwind
colors: {
  custom: {
    50: '#535072',
    500: '#0c133c',
    950: '#000000',
  },
}
SCSS
$custom: #0c133c;
$custom-light: #535072;
$custom-dark: #000000;
JSON
{
  "hex": "#0c133c",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 231.25,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21096,
    "c": 0.07898,
    "h": 270.7
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#0C133C
secondary
#786D2C
accent
#D13EEA
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0C133C

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

Preview Lab → · Contrast checker → · Palette generator →

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