#0C133E#0C133E

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

Color values

HEX#0C133E
RGBrgb(12, 19, 62)
HSLhsl(232, 68%, 15%)
HSVhsv(232, 81%, 24%)
CMYKcmyk(80.6%, 69.4%, 0%, 75.7%)
CIE-LABlab(8.05, 14.46, -28.50)
CIE-LCHlch(8.05, 31.96, 296.90°)
OKLaboklab(21.3% 0.0009 -0.0822)
OKLCHoklch(21.3% 0.082 270.6)
XYZxyz(1.2537, 0.8916, 4.6625)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C133E #3E370C
analogous
#0C2C3E #0C133E #1E0C3E
triadic
#0C133E #3E0C13 #133E0C
tetradic
#0C133E #3E0C2C #3E370C #0C3E1E
square
#0C133E #3E0C2C #3E370C #0C3E1E
split-complementary
#0C133E #3E1E0C #2C3E0C
monochromatic
#05081A #05081A #0C133E #162371 #2032A5

Accessibility & contrast

On white

17.82
#0C133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C133E
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C133E#FFFFFF#000000##FFFFFF
##0C133E1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0c133e;
/* rgb */ color: rgb(12, 19, 62);
/* oklch */ color: oklch(21.3% 0.082 270.6);
Tailwind
colors: {
  custom: {
    50: '#535074',
    500: '#0c133e',
    950: '#000000',
  },
}
SCSS
$custom: #0c133e;
$custom-light: #535074;
$custom-dark: #000000;
JSON
{
  "hex": "#0c133e",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 231.6,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21302,
    "c": 0.08224,
    "h": 270.6
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#0C133E
secondary
#7A6F2C
accent
#D23DEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0C133E

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

Preview Lab → · Contrast checker → · Palette generator →

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