#0C244A#0C244A

#0C244A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.077 H 259.4°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#0C244A
RGBrgb(12, 36, 74)
HSLhsl(217, 72%, 17%)
HSVhsv(217, 84%, 29%)
CMYKcmyk(83.8%, 51.4%, 0%, 71%)
CIE-LABlab(14.59, 6.59, -26.31)
CIE-LCHlch(14.59, 27.13, 284.07°)
OKLaboklab(26.58% -0.0142 -0.0755)
OKLCHoklch(26.58% 0.077 259.4)
XYZxyz(2.0181, 1.8341, 6.7249)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C244A #4A320C
analogous
#0C434A #0C244A #130C4A
triadic
#0C244A #4A0C24 #244A0C
tetradic
#0C244A #4A0C43 #4A320C #0C4A13
square
#0C244A #4A0C43 #4A320C #0C4A13
split-complementary
#0C244A #4A130C #434A0C
monochromatic
#040D1A #040D1A #0C244A #153E7F #1D57B3

Accessibility & contrast

On white

15.36
#0C244A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0C244A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C244A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C244A#FFFFFF#000000##FFFFFF
##0C244A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10284B
Deuteranopia (green-blind)
#032249
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c244a;
/* rgb */ color: rgb(12, 36, 74);
/* oklch */ color: oklch(26.6% 0.077 259.4);
Tailwind
colors: {
  custom: {
    50: '#555e7d',
    500: '#0c244a',
    950: '#000000',
  },
}
SCSS
$custom: #0c244a;
$custom-light: #555e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c244a",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 74
  },
  "hsl": {
    "h": 216.774,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26577,
    "c": 0.0768,
    "h": 259.4
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#0C244A
secondary
#86632C
accent
#A839EF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0C244A

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

Preview Lab → · Contrast checker → · Palette generator →

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