#0C2B3D#0C2B3D

#0C2B3D is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.6% C 0.049 H 237.9°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#0C2B3D
RGBrgb(12, 43, 61)
HSLhsl(202, 67%, 14%)
HSVhsv(202, 80%, 24%)
CMYKcmyk(80.3%, 29.5%, 0%, 76.1%)
CIE-LABlab(16.22, -4.19, -14.76)
CIE-LCHlch(16.22, 15.34, 254.13°)
OKLaboklab(27.58% -0.0261 -0.0416)
OKLCHoklch(27.58% 0.049 237.9)
XYZxyz(1.8575, 2.1426, 4.7297)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B3D #3D1E0C
analogous
#0C3D37 #0C2B3D #0C133D
triadic
#0C2B3D #3D0C2B #2B3D0C
tetradic
#0C2B3D #370C3D #3D1E0C #133D0C
square
#0C2B3D #370C3D #3D1E0C #133D0C
split-complementary
#0C2B3D #3D0C13 #3D370C
monochromatic
#05121A #05121A #0C2B3D #164F70 #2073A3

Accessibility & contrast

On white

14.70
#0C2B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B3D
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B3D#FFFFFF#000000##FFFFFF
##0C2B3D1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3E
Deuteranopia (green-blind)
#1C263D
Tritanopia (blue-blind)
#003031
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2b3d;
/* rgb */ color: rgb(12, 43, 61);
/* oklch */ color: oklch(27.6% 0.049 237.9);
Tailwind
colors: {
  custom: {
    50: '#526472',
    500: '#0c2b3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b3d;
$custom-light: #526472;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b3d",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 61
  },
  "hsl": {
    "h": 202.041,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27579,
    "c": 0.04907,
    "h": 237.9
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#0C2B3D
secondary
#79482C
accent
#7D3EEA
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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