#0C134B#0C134B

#0C134B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.102 H 270.0°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#0C134B
RGBrgb(12, 19, 75)
HSLhsl(233, 72%, 17%)
HSVhsv(233, 84%, 29%)
CMYKcmyk(84%, 74.7%, 0%, 70.6%)
CIE-LABlab(9.41, 20.02, -35.42)
CIE-LCHlch(9.41, 40.69, 299.48°)
OKLaboklab(22.72% 0.0001 -0.1025)
OKLCHoklch(22.72% 0.103 270)
XYZxyz(1.6541, 1.0517, 6.7711)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C134B #4B440C
analogous
#0C334B #0C134B #250C4B
triadic
#0C134B #4B0C13 #134B0C
tetradic
#0C134B #4B0C33 #4B440C #0C4B25
square
#0C134B #4B0C33 #4B440C #0C4B25
split-complementary
#0C134B #4B250C #334B0C
monochromatic
#04071A #04071A #0C134B #142080 #1D2EB5

Accessibility & contrast

On white

17.35
#0C134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0C134B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C134B
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C134B#FFFFFF#000000##FFFFFF
##0C134B1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#00174A
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0c134b;
/* rgb */ color: rgb(12, 19, 75);
/* oklch */ color: oklch(22.7% 0.102 270.0);
Tailwind
colors: {
  custom: {
    50: '#57507e',
    500: '#0c134b',
    950: '#000000',
  },
}
SCSS
$custom: #0c134b;
$custom-light: #57507e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c134b",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 233.333,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22719,
    "c": 0.1025,
    "h": 270
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#0C134B
secondary
#877D2C
accent
#DB39EF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0C134B

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

Preview Lab → · Contrast checker → · Palette generator →

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