#0C2338#0C2338

#0C2338 is a very dark, muted cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.049 H 248.6°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#0C2338
RGBrgb(12, 35, 56)
HSLhsl(209, 65%, 13%)
HSVhsv(209, 79%, 22%)
CMYKcmyk(78.6%, 37.5%, 0%, 78%)
CIE-LABlab(13.02, -0.62, -16.26)
CIE-LCHlch(13.02, 16.27, 267.83°)
OKLaboklab(24.96% -0.0181 -0.046)
OKLCHoklch(24.96% 0.049 248.6)
XYZxyz(1.4662, 1.5656, 3.9655)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2338 #38210C
analogous
#0C3837 #0C2338 #0C0D38
triadic
#0C2338 #380C23 #23380C
tetradic
#0C2338 #370C38 #38210C #0D380C
square
#0C2338 #370C38 #38210C #0D380C
split-complementary
#0C2338 #380C0D #38370C
monochromatic
#051019 #051019 #0C2338 #17426A #22629D

Accessibility & contrast

On white

15.99
#0C2338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0C2338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2338
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2338#FFFFFF#000000##FFFFFF
##0C23381.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2439
Deuteranopia (green-blind)
#142038
Tritanopia (blue-blind)
#00282B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c2338;
/* rgb */ color: rgb(12, 35, 56);
/* oklch */ color: oklch(25.0% 0.049 248.6);
Tailwind
colors: {
  custom: {
    50: '#515d6e',
    500: '#0c2338',
    950: '#000000',
  },
}
SCSS
$custom: #0c2338;
$custom-light: #515d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2338",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 208.636,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24957,
    "c": 0.04945,
    "h": 248.6
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#0C2338
secondary
#744E2C
accent
#9040E8
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C2338

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

Preview Lab → · Contrast checker → · Palette generator →

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