#0C253E#0C253E

#0C253E is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.9% C 0.056 H 250.9°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#0C253E
RGBrgb(12, 37, 62)
HSLhsl(210, 68%, 15%)
HSVhsv(210, 81%, 24%)
CMYKcmyk(80.6%, 40.3%, 0%, 75.7%)
CIE-LABlab(14.11, 0.52, -18.76)
CIE-LCHlch(14.11, 18.77, 271.59°)
OKLaboklab(25.94% -0.0184 -0.0533)
OKLCHoklch(25.94% 0.056 250.9)
XYZxyz(1.6824, 1.7489, 4.8054)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C253E #3E250C
analogous
#0C3E3E #0C253E #0C0C3E
triadic
#0C253E #3E0C25 #253E0C
tetradic
#0C253E #3E0C3E #3E250C #0C3E0C
square
#0C253E #3E0C3E #3E250C #0C3E0C
split-complementary
#0C253E #3E0C0C #3E3E0C
monochromatic
#050F1A #050F1A #0C253E #164471 #2062A5

Accessibility & contrast

On white

15.56
#0C253E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0C253E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C253E
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C253E#FFFFFF#000000##FFFFFF
##0C253E1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A263F
Deuteranopia (green-blind)
#13223E
Tritanopia (blue-blind)
#002B2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c253e;
/* rgb */ color: rgb(12, 37, 62);
/* oklch */ color: oklch(25.9% 0.056 250.9);
Tailwind
colors: {
  custom: {
    50: '#525f73',
    500: '#0c253e',
    950: '#000000',
  },
}
SCSS
$custom: #0c253e;
$custom-light: #525f73;
$custom-dark: #000000;
JSON
{
  "hex": "#0c253e",
  "rgb": {
    "r": 12,
    "g": 37,
    "b": 62
  },
  "hsl": {
    "h": 210,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25935,
    "c": 0.0564,
    "h": 250.9
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#0C253E
secondary
#7A532C
accent
#943DEA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0C253E

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

Preview Lab → · Contrast checker → · Palette generator →

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