#0C134D#0C134D

#0C134D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.105 H 269.9°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#0C134D
RGBrgb(12, 19, 77)
HSLhsl(234, 73%, 17%)
HSVhsv(234, 84%, 30%)
CMYKcmyk(84.4%, 75.3%, 0%, 69.8%)
CIE-LABlab(9.64, 20.86, -36.44)
CIE-LCHlch(9.64, 41.99, 299.79°)
OKLaboklab(22.95% -0.0001 -0.1055)
OKLCHoklch(22.95% 0.105 269.9)
XYZxyz(1.7236, 1.0795, 7.1373)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C134D #4D460C
analogous
#0C344D #0C134D #250C4D
triadic
#0C134D #4D0C13 #134D0C
tetradic
#0C134D #4D0C34 #4D460C #0C4D25
square
#0C134D #4D0C34 #4D460C #0C4D25
split-complementary
#0C134D #4D250C #344D0C
monochromatic
#04071A #04071A #0C134D #142082 #1D2DB7

Accessibility & contrast

On white

17.27
#0C134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0C134D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C134D
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C134D#FFFFFF#000000##FFFFFF
##0C134D1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c134d;
/* rgb */ color: rgb(12, 19, 77);
/* oklch */ color: oklch(22.9% 0.105 269.9);
Tailwind
colors: {
  custom: {
    50: '#58507f',
    500: '#0c134d',
    950: '#000000',
  },
}
SCSS
$custom: #0c134d;
$custom-light: #58507f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c134d",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 233.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22948,
    "c": 0.10548,
    "h": 269.9
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#0C134D
secondary
#897F2C
accent
#DC38F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0C134D

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

Preview Lab → · Contrast checker → · Palette generator →

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