#08254B#08254B

#08254B is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.8% C 0.078 H 256.8°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#08254B
RGBrgb(8, 37, 75)
HSLhsl(214, 81%, 16%)
HSVhsv(214, 89%, 29%)
CMYKcmyk(89.3%, 50.7%, 0%, 70.6%)
CIE-LABlab(14.86, 5.74, -26.58)
CIE-LCHlch(14.86, 27.19, 282.19°)
OKLaboklab(26.77% -0.0179 -0.0763)
OKLCHoklch(26.77% 0.078 256.8)
XYZxyz(2.0312, 1.8825, 6.9116)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08254B #4B2E08
analogous
#08474B #08254B #0D084B
triadic
#08254B #4B0825 #254B08
tetradic
#08254B #4B0847 #4B2E08 #084B0D
square
#08254B #4B0847 #4B2E08 #084B0D
split-complementary
#08254B #4B0D08 #474B08
monochromatic
#030E1C #030E1C #08254B #0E4082 #145CBA

Accessibility & contrast

On white

15.25
#08254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#08254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08254B
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08254B#FFFFFF#000000##FFFFFF
##08254B1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294C
Deuteranopia (green-blind)
#03234A
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #08254b;
/* rgb */ color: rgb(8, 37, 75);
/* oklch */ color: oklch(26.8% 0.078 256.8);
Tailwind
colors: {
  custom: {
    50: '#545f7d',
    500: '#08254b',
    950: '#000000',
  },
}
SCSS
$custom: #08254b;
$custom-light: #545f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#08254b",
  "rgb": {
    "r": 8,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 214.03,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26765,
    "c": 0.07837,
    "h": 256.8
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#08254B
secondary
#895E26
accent
#A131F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #08254B

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

Preview Lab → · Contrast checker → · Palette generator →

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