#0C233A#0C233A

#0C233A is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.1% C 0.053 H 250.7°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#0C233A
RGBrgb(12, 35, 58)
HSLhsl(210, 66%, 14%)
HSVhsv(210, 79%, 23%)
CMYKcmyk(79.3%, 39.7%, 0%, 77.3%)
CIE-LABlab(13.14, 0.25, -17.48)
CIE-LCHlch(13.14, 17.48, 270.82°)
OKLaboklab(25.09% -0.0174 -0.0496)
OKLCHoklch(25.09% 0.053 250.7)
XYZxyz(1.5161, 1.5856, 4.2283)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C233A #3A230C
analogous
#0C3A3A #0C233A #0C0C3A
triadic
#0C233A #3A0C23 #233A0C
tetradic
#0C233A #3A0C3A #3A230C #0C3A0C
square
#0C233A #3A0C3A #3A230C #0C3A0C
split-complementary
#0C233A #3A0C0C #3A3A0C
monochromatic
#050F19 #050F19 #0C233A #16426D #21609F

Accessibility & contrast

On white

15.94
#0C233A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C233A
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C233A#FFFFFF#000000##FFFFFF
##0C233A1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243B
Deuteranopia (green-blind)
#12203A
Tritanopia (blue-blind)
#00282B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c233a;
/* rgb */ color: rgb(12, 35, 58);
/* oklch */ color: oklch(25.1% 0.053 250.7);
Tailwind
colors: {
  custom: {
    50: '#515d70',
    500: '#0c233a',
    950: '#000000',
  },
}
SCSS
$custom: #0c233a;
$custom-light: #515d70;
$custom-dark: #000000;
JSON
{
  "hex": "#0c233a",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 58
  },
  "hsl": {
    "h": 210,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25093,
    "c": 0.05254,
    "h": 250.7
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#0C233A
secondary
#76512C
accent
#943FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C233A

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

Preview Lab → · Contrast checker → · Palette generator →

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