#0C2647#0C2647

#0C2647 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.9% C 0.069 H 255.8°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#0C2647
RGBrgb(12, 38, 71)
HSLhsl(214, 71%, 16%)
HSVhsv(214, 83%, 28%)
CMYKcmyk(83.1%, 46.5%, 0%, 72.2%)
CIE-LABlab(15.06, 3.75, -23.50)
CIE-LCHlch(15.06, 23.80, 279.06°)
OKLaboklab(26.87% -0.0169 -0.0672)
OKLCHoklch(26.87% 0.069 255.8)
XYZxyz(1.9816, 1.9191, 6.2260)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2647 #472D0C
analogous
#0C4447 #0C2647 #100C47
triadic
#0C2647 #470C26 #26470C
tetradic
#0C2647 #470C44 #472D0C #0C4710
square
#0C2647 #470C44 #472D0C #0C4710
split-complementary
#0C2647 #47100C #44470C
monochromatic
#040E1A #040E1A #0C2647 #15427B #1E5EB0

Accessibility & contrast

On white

15.18
#0C2647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2647
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2647#FFFFFF#000000##FFFFFF
##0C26471.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162948
Deuteranopia (green-blind)
#0C2346
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2647;
/* rgb */ color: rgb(12, 38, 71);
/* oklch */ color: oklch(26.9% 0.069 255.8);
Tailwind
colors: {
  custom: {
    50: '#555f7a',
    500: '#0c2647',
    950: '#000000',
  },
}
SCSS
$custom: #0c2647;
$custom-light: #555f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2647",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 71
  },
  "hsl": {
    "h": 213.559,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26867,
    "c": 0.06929,
    "h": 255.8
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#0C2647
secondary
#835D2C
accent
#9F3AEE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0C2647

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

Preview Lab → · Contrast checker → · Palette generator →

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