#0C134E#0C134E

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

Color values

HEX#0C134E
RGBrgb(12, 19, 78)
HSLhsl(234, 73%, 18%)
HSVhsv(234, 85%, 31%)
CMYKcmyk(84.6%, 75.6%, 0%, 69.4%)
CIE-LABlab(9.75, 21.27, -36.94)
CIE-LCHlch(9.75, 42.63, 299.93°)
OKLaboklab(23.06% -0.0002 -0.1069)
OKLCHoklch(23.06% 0.107 269.9)
XYZxyz(1.7592, 1.0938, 7.3247)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C134E #4E470C
analogous
#0C344E #0C134E #260C4E
triadic
#0C134E #4E0C13 #134E0C
tetradic
#0C134E #4E0C34 #4E470C #0C4E26
square
#0C134E #4E0C34 #4E470C #0C4E26
split-complementary
#0C134E #4E260C #344E0C
monochromatic
#04061B #04061B #0C134E #142083 #1C2DB8

Accessibility & contrast

On white

17.23
#0C134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C134E
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C134E#FFFFFF#000000##FFFFFF
##0C134E1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c134e;
/* rgb */ color: rgb(12, 19, 78);
/* oklch */ color: oklch(23.1% 0.107 269.9);
Tailwind
colors: {
  custom: {
    50: '#585080',
    500: '#0c134e',
    950: '#000000',
  },
}
SCSS
$custom: #0c134e;
$custom-light: #585080;
$custom-dark: #000000;
JSON
{
  "hex": "#0c134e",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 233.636,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23063,
    "c": 0.10695,
    "h": 269.9
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#0C134E
secondary
#8A802C
accent
#DC38F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0C134E

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

Preview Lab → · Contrast checker → · Palette generator →

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