#0C253F#0C253F

#0C253F is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.058 H 251.8°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#0C253F
RGBrgb(12, 37, 63)
HSLhsl(211, 68%, 15%)
HSVhsv(211, 81%, 25%)
CMYKcmyk(81%, 41.3%, 0%, 75.3%)
CIE-LABlab(14.17, 0.96, -19.36)
CIE-LCHlch(14.17, 19.39, 272.84°)
OKLaboklab(26.01% -0.0181 -0.055)
OKLCHoklch(26.01% 0.058 251.8)
XYZxyz(1.7101, 1.7600, 4.9513)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C253F #3F260C
analogous
#0C3F3F #0C253F #0C0C3F
triadic
#0C253F #3F0C25 #253F0C
tetradic
#0C253F #3F0C3F #3F260C #0C3F0C
square
#0C253F #3F0C3F #3F260C #0C3F0C
split-complementary
#0C253F #3F0C0C #3F3F0C
monochromatic
#050F1A #050F1A #0C253F #164372 #2061A6

Accessibility & contrast

On white

15.53
#0C253F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C253F
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C253F#FFFFFF#000000##FFFFFF
##0C253F1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192740
Deuteranopia (green-blind)
#12223E
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c253f;
/* rgb */ color: rgb(12, 37, 63);
/* oklch */ color: oklch(26.0% 0.058 251.8);
Tailwind
colors: {
  custom: {
    50: '#535f74',
    500: '#0c253f',
    950: '#000000',
  },
}
SCSS
$custom: #0c253f;
$custom-light: #535f74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c253f",
  "rgb": {
    "r": 12,
    "g": 37,
    "b": 63
  },
  "hsl": {
    "h": 210.588,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26005,
    "c": 0.05796,
    "h": 251.8
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#0C253F
secondary
#7B542C
accent
#963DEB
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0C253F

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

Preview Lab → · Contrast checker → · Palette generator →

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