#0C134F#0C134F

#0C134F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.108 H 269.8°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#0C134F
RGBrgb(12, 19, 79)
HSLhsl(234, 74%, 18%)
HSVhsv(234, 85%, 31%)
CMYKcmyk(84.8%, 75.9%, 0%, 69%)
CIE-LABlab(9.86, 21.68, -37.45)
CIE-LCHlch(9.86, 43.27, 300.07°)
OKLaboklab(23.18% -0.0004 -0.1084)
OKLCHoklch(23.18% 0.108 269.8)
XYZxyz(1.7953, 1.1082, 7.5149)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C134F #4F480C
analogous
#0C344F #0C134F #260C4F
triadic
#0C134F #4F0C13 #134F0C
tetradic
#0C134F #4F0C34 #4F480C #0C4F26
square
#0C134F #4F0C34 #4F480C #0C4F26
split-complementary
#0C134F #4F260C #344F0C
monochromatic
#04061B #04061B #0C134F #142084 #1C2DB9

Accessibility & contrast

On white

17.19
#0C134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C134F
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C134F#FFFFFF#000000##FFFFFF
##0C134F1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#00184E
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c134f;
/* rgb */ color: rgb(12, 19, 79);
/* oklch */ color: oklch(23.2% 0.108 269.8);
Tailwind
colors: {
  custom: {
    50: '#595081',
    500: '#0c134f',
    950: '#000000',
  },
}
SCSS
$custom: #0c134f;
$custom-light: #595081;
$custom-dark: #000000;
JSON
{
  "hex": "#0c134f",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 233.731,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23179,
    "c": 0.10842,
    "h": 269.8
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#0C134F
secondary
#8B812C
accent
#DD38F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0C134F

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

Preview Lab → · Contrast checker → · Palette generator →

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