#0C233D#0C233D

#0C233D is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.3% C 0.057 H 253.4°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#0C233D
RGBrgb(12, 35, 61)
HSLhsl(212, 67%, 14%)
HSVhsv(212, 80%, 24%)
CMYKcmyk(80.3%, 42.6%, 0%, 76.1%)
CIE-LABlab(13.33, 1.56, -19.29)
CIE-LCHlch(13.33, 19.36, 274.63°)
OKLaboklab(25.31% -0.0164 -0.0549)
OKLCHoklch(25.31% 0.057 253.4)
XYZxyz(1.5946, 1.6170, 4.6420)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C233D #3D260C
analogous
#0C3C3D #0C233D #0E0C3D
triadic
#0C233D #3D0C23 #233D0C
tetradic
#0C233D #3D0C3C #3D260C #0C3D0E
square
#0C233D #3D0C3C #3D260C #0C3D0E
split-complementary
#0C233D #3D0E0C #3C3D0C
monochromatic
#050F1A #050F1A #0C233D #164070 #205EA3

Accessibility & contrast

On white

15.87
#0C233D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0C233D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C233D
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C233D#FFFFFF#000000##FFFFFF
##0C233D1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253E
Deuteranopia (green-blind)
#10203C
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c233d;
/* rgb */ color: rgb(12, 35, 61);
/* oklch */ color: oklch(25.3% 0.057 253.4);
Tailwind
colors: {
  custom: {
    50: '#525d72',
    500: '#0c233d',
    950: '#000000',
  },
}
SCSS
$custom: #0c233d;
$custom-light: #525d72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c233d",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 61
  },
  "hsl": {
    "h": 211.837,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25306,
    "c": 0.05728,
    "h": 253.4
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#0C233D
secondary
#79552C
accent
#993EEA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #0C233D

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

Preview Lab → · Contrast checker → · Palette generator →

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