#0C253A#0C253A

#0C253A is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.7% C 0.050 H 246.8°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#0C253A
RGBrgb(12, 37, 58)
HSLhsl(207, 66%, 14%)
HSVhsv(207, 79%, 23%)
CMYKcmyk(79.3%, 36.2%, 0%, 77.3%)
CIE-LABlab(13.87, -1.21, -16.34)
CIE-LCHlch(13.87, 16.39, 265.75°)
OKLaboklab(25.66% -0.0198 -0.0462)
OKLCHoklch(25.66% 0.05 246.8)
XYZxyz(1.5766, 1.7066, 4.2485)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C253A #3A210C
analogous
#0C3A38 #0C253A #0C0E3A
triadic
#0C253A #3A0C25 #253A0C
tetradic
#0C253A #380C3A #3A210C #0E3A0C
square
#0C253A #380C3A #3A210C #0E3A0C
split-complementary
#0C253A #3A0C0E #3A380C
monochromatic
#051019 #051019 #0C253A #16456D #21669F

Accessibility & contrast

On white

15.66
#0C253A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0C253A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C253A
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C253A#FFFFFF#000000##FFFFFF
##0C253A1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C263B
Deuteranopia (green-blind)
#15213A
Tritanopia (blue-blind)
#002A2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c253a;
/* rgb */ color: rgb(12, 37, 58);
/* oklch */ color: oklch(25.7% 0.050 246.8);
Tailwind
colors: {
  custom: {
    50: '#515f70',
    500: '#0c253a',
    950: '#000000',
  },
}
SCSS
$custom: #0c253a;
$custom-light: #515f70;
$custom-dark: #000000;
JSON
{
  "hex": "#0c253a",
  "rgb": {
    "r": 12,
    "g": 37,
    "b": 58
  },
  "hsl": {
    "h": 207.391,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25662,
    "c": 0.05031,
    "h": 246.8
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#0C253A
secondary
#764E2C
accent
#8D3FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C253A

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

Preview Lab → · Contrast checker → · Palette generator →

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