#0C133D#0C133D

#0C133D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.081 H 270.6°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0C133D
RGBrgb(12, 19, 61)
HSLhsl(231, 67%, 14%)
HSVhsv(231, 80%, 24%)
CMYKcmyk(80.3%, 68.9%, 0%, 76.1%)
CIE-LABlab(7.96, 14.02, -27.94)
CIE-LCHlch(7.96, 31.27, 296.65°)
OKLaboklab(21.2% 0.0009 -0.0806)
OKLCHoklch(21.2% 0.081 270.6)
XYZxyz(1.2265, 0.8807, 4.5193)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C133D #3D360C
analogous
#0C2C3D #0C133D #1E0C3D
triadic
#0C133D #3D0C13 #133D0C
tetradic
#0C133D #3D0C2C #3D360C #0C3D1E
square
#0C133D #3D0C2C #3D360C #0C3D1E
split-complementary
#0C133D #3D1E0C #2C3D0C
monochromatic
#05081A #05081A #0C133D #162370 #2033A3

Accessibility & contrast

On white

17.85
#0C133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0C133D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C133D
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C133D#FFFFFF#000000##FFFFFF
##0C133D1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c133d;
/* rgb */ color: rgb(12, 19, 61);
/* oklch */ color: oklch(21.2% 0.081 270.6);
Tailwind
colors: {
  custom: {
    50: '#535073',
    500: '#0c133d',
    950: '#000000',
  },
}
SCSS
$custom: #0c133d;
$custom-light: #535073;
$custom-dark: #000000;
JSON
{
  "hex": "#0c133d",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 231.429,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21199,
    "c": 0.08062,
    "h": 270.6
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#0C133D
secondary
#796E2C
accent
#D13EEA
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0C133D

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

Preview Lab → · Contrast checker → · Palette generator →

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