#08254A#08254A

#08254A is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.7% C 0.077 H 256.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#08254A
RGBrgb(8, 37, 74)
HSLhsl(214, 80%, 16%)
HSVhsv(214, 89%, 29%)
CMYKcmyk(89.2%, 50%, 0%, 71%)
CIE-LABlab(14.78, 5.29, -26.01)
CIE-LCHlch(14.78, 26.54, 281.49°)
OKLaboklab(26.68% -0.0181 -0.0746)
OKLCHoklch(26.68% 0.077 256.4)
XYZxyz(1.9973, 1.8689, 6.7327)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08254A #4A2D08
analogous
#08464A #08254A #0C084A
triadic
#08254A #4A0825 #254A08
tetradic
#08254A #4A0846 #4A2D08 #084A0C
square
#08254A #4A0846 #4A2D08 #084A0C
split-complementary
#08254A #4A0C08 #464A08
monochromatic
#030E1C #030E1C #08254A #0E4181 #145CB8

Accessibility & contrast

On white

15.29
#08254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#08254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08254A
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08254A#FFFFFF#000000##FFFFFF
##08254A1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11284B
Deuteranopia (green-blind)
#042249
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #08254a;
/* rgb */ color: rgb(8, 37, 74);
/* oklch */ color: oklch(26.7% 0.077 256.4);
Tailwind
colors: {
  custom: {
    50: '#545f7d',
    500: '#08254a',
    950: '#000000',
  },
}
SCSS
$custom: #08254a;
$custom-light: #545f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#08254a",
  "rgb": {
    "r": 8,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 213.636,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26684,
    "c": 0.0768,
    "h": 256.4
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#08254A
secondary
#885D26
accent
#A031F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #08254A

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

Preview Lab → · Contrast checker → · Palette generator →

#08254A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva