#0C244F#0C244F

#0C244F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.085 H 261.0°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#0C244F
RGBrgb(12, 36, 79)
HSLhsl(219, 74%, 18%)
HSVhsv(219, 85%, 31%)
CMYKcmyk(84.8%, 54.4%, 0%, 69%)
CIE-LABlab(14.98, 8.83, -29.11)
CIE-LCHlch(14.98, 30.42, 286.88°)
OKLaboklab(27% -0.0133 -0.0837)
OKLCHoklch(27% 0.085 261)
XYZxyz(2.1933, 1.9042, 7.6476)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C244F #4F370C
analogous
#0C454F #0C244F #150C4F
triadic
#0C244F #4F0C24 #244F0C
tetradic
#0C244F #4F0C45 #4F370C #0C4F15
square
#0C244F #4F0C45 #4F370C #0C4F15
split-complementary
#0C244F #4F150C #454F0C
monochromatic
#040C1B #040C1B #0C244F #143C84 #1C54B9

Accessibility & contrast

On white

15.21
#0C244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0C244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C244F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C244F#FFFFFF#000000##FFFFFF
##0C244F1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2951
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c244f;
/* rgb */ color: rgb(12, 36, 79);
/* oklch */ color: oklch(27.0% 0.085 261.0);
Tailwind
colors: {
  custom: {
    50: '#575e81',
    500: '#0c244f',
    950: '#000000',
  },
}
SCSS
$custom: #0c244f;
$custom-light: #575e81;
$custom-dark: #000000;
JSON
{
  "hex": "#0c244f",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 218.507,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26995,
    "c": 0.08476,
    "h": 261
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#0C244F
secondary
#8B692C
accent
#AE38F0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0C244F

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

Preview Lab → · Contrast checker → · Palette generator →

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