#0C2238#0C2238

#0C2238 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.051 H 250.6°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#0C2238
RGBrgb(12, 34, 56)
HSLhsl(210, 65%, 13%)
HSVhsv(210, 79%, 22%)
CMYKcmyk(78.6%, 39.3%, 0%, 78%)
CIE-LABlab(12.66, 0.12, -16.83)
CIE-LCHlch(12.66, 16.83, 270.42°)
OKLaboklab(24.67% -0.0168 -0.0477)
OKLCHoklch(24.67% 0.051 250.6)
XYZxyz(1.4372, 1.5076, 3.9559)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2238 #38220C
analogous
#0C3838 #0C2238 #0C0C38
triadic
#0C2238 #380C22 #22380C
tetradic
#0C2238 #380C38 #38220C #0C380C
square
#0C2238 #380C38 #38220C #0C380C
split-complementary
#0C2238 #380C0C #38380C
monochromatic
#050F19 #050F19 #0C2238 #17416A #225F9D

Accessibility & contrast

On white

16.13
#0C2238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0C2238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2238
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2238#FFFFFF#000000##FFFFFF
##0C22381.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#121F38
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c2238;
/* rgb */ color: rgb(12, 34, 56);
/* oklch */ color: oklch(24.7% 0.051 250.6);
Tailwind
colors: {
  custom: {
    50: '#515c6e',
    500: '#0c2238',
    950: '#000000',
  },
}
SCSS
$custom: #0c2238;
$custom-light: #515c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2238",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 210,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24672,
    "c": 0.05058,
    "h": 250.6
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#0C2238
secondary
#74502C
accent
#9440E8
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C2238

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

Preview Lab → · Contrast checker → · Palette generator →

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