#0C233B#0C233B

#0C233B is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.054 H 251.7°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#0C233B
RGBrgb(12, 35, 59)
HSLhsl(211, 66%, 14%)
HSVhsv(211, 80%, 23%)
CMYKcmyk(79.7%, 40.7%, 0%, 76.9%)
CIE-LABlab(13.20, 0.69, -18.09)
CIE-LCHlch(13.20, 18.10, 272.18°)
OKLaboklab(25.16% -0.017 -0.0514)
OKLCHoklch(25.16% 0.054 251.7)
XYZxyz(1.5418, 1.5958, 4.3636)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C233B #3B240C
analogous
#0C3B3B #0C233B #0D0C3B
triadic
#0C233B #3B0C23 #233B0C
tetradic
#0C233B #3B0C3B #3B240C #0C3B0D
square
#0C233B #3B0C3B #3B240C #0C3B0D
split-complementary
#0C233B #3B0D0C #3B3B0C
monochromatic
#050F19 #050F19 #0C233B #16416E #215FA1

Accessibility & contrast

On white

15.92
#0C233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C233B
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C233B#FFFFFF#000000##FFFFFF
##0C233B1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243C
Deuteranopia (green-blind)
#12203B
Tritanopia (blue-blind)
#00292C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c233b;
/* rgb */ color: rgb(12, 35, 59);
/* oklch */ color: oklch(25.2% 0.054 251.7);
Tailwind
colors: {
  custom: {
    50: '#525d71',
    500: '#0c233b',
    950: '#000000',
  },
}
SCSS
$custom: #0c233b;
$custom-light: #525d71;
$custom-dark: #000000;
JSON
{
  "hex": "#0c233b",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 210.638,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25163,
    "c": 0.05411,
    "h": 251.7
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#0C233B
secondary
#77522C
accent
#963FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C233B

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

Preview Lab → · Contrast checker → · Palette generator →

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