#0C2249#0C2249

#0C2249 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.078 H 260.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#0C2249
RGBrgb(12, 34, 73)
HSLhsl(218, 72%, 17%)
HSVhsv(218, 84%, 29%)
CMYKcmyk(83.6%, 53.4%, 0%, 71.4%)
CIE-LABlab(13.84, 7.67, -26.83)
CIE-LCHlch(13.84, 27.90, 285.96°)
OKLaboklab(25.98% -0.0124 -0.077)
OKLCHoklch(25.98% 0.078 260.9)
XYZxyz(1.9258, 1.7030, 6.5293)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2249 #49330C
analogous
#0C4149 #0C2249 #150C49
triadic
#0C2249 #490C22 #22490C
tetradic
#0C2249 #490C41 #49330C #0C4915
square
#0C2249 #490C41 #49330C #0C4915
split-complementary
#0C2249 #49150C #41490C
monochromatic
#040C1A #040C1A #0C2249 #153A7E #1D53B2

Accessibility & contrast

On white

15.66
#0C2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0C2249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2249
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2249#FFFFFF#000000##FFFFFF
##0C22491.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C264A
Deuteranopia (green-blind)
#002148
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c2249;
/* rgb */ color: rgb(12, 34, 73);
/* oklch */ color: oklch(26.0% 0.078 260.9);
Tailwind
colors: {
  custom: {
    50: '#555c7c',
    500: '#0c2249',
    950: '#000000',
  },
}
SCSS
$custom: #0c2249;
$custom-light: #555c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2249",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 218.361,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25978,
    "c": 0.07802,
    "h": 260.9
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#0C2249
secondary
#85652C
accent
#AD39EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0C2249

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

Preview Lab → · Contrast checker → · Palette generator →

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