#0C2B38#0C2B38

#0C2B38 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.3% C 0.043 H 229.2°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#0C2B38
RGBrgb(12, 43, 56)
HSLhsl(198, 65%, 13%)
HSVhsv(198, 79%, 22%)
CMYKcmyk(78.6%, 23.2%, 0%, 78%)
CIE-LABlab(15.96, -6.26, -11.68)
CIE-LCHlch(15.96, 13.25, 241.82°)
OKLaboklab(27.29% -0.0282 -0.0327)
OKLCHoklch(27.29% 0.043 229.2)
XYZxyz(1.7290, 2.0913, 4.0531)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B38 #38190C
analogous
#0C382F #0C2B38 #0C1538
triadic
#0C2B38 #380C2B #2B380C
tetradic
#0C2B38 #2F0C38 #38190C #15380C
square
#0C2B38 #2F0C38 #38190C #15380C
split-complementary
#0C2B38 #380C15 #382F0C
monochromatic
#051319 #051319 #0C2B38 #17526A #22789D

Accessibility & contrast

On white

14.81
#0C2B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B38
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B38#FFFFFF#000000##FFFFFF
##0C2B381.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A39
Deuteranopia (green-blind)
#1E2638
Tritanopia (blue-blind)
#002F2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2b38;
/* rgb */ color: rgb(12, 43, 56);
/* oklch */ color: oklch(27.3% 0.043 229.2);
Tailwind
colors: {
  custom: {
    50: '#51646e',
    500: '#0c2b38',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b38;
$custom-light: #51646e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b38",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 56
  },
  "hsl": {
    "h": 197.727,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.27287,
    "c": 0.04321,
    "h": 229.2
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#0C2B38
secondary
#74412C
accent
#7240E8
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C2B38

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

Preview Lab → · Contrast checker → · Palette generator →

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