#254875#254875

#254875 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.087 H 255.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#254875
RGBrgb(37, 72, 117)
HSLhsl(214, 52%, 30%)
HSVhsv(214, 68%, 46%)
CMYKcmyk(68.4%, 38.5%, 0%, 54.1%)
CIE-LABlab(30.19, 3.17, -29.55)
CIE-LCHlch(30.19, 29.72, 276.12°)
OKLaboklab(39.88% -0.0216 -0.0839)
OKLCHoklch(39.88% 0.087 255.6)
XYZxyz(6.2900, 6.3118, 17.7130)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254875 #755225
analogous
#257075 #254875 #2A2575
triadic
#254875 #752548 #487525
tetradic
#254875 #752570 #755225 #25752A
square
#254875 #752570 #755225 #25752A
split-complementary
#254875 #752A25 #707525
monochromatic
#080F18 #162B47 #254875 #3465A3 #4E83C7

Accessibility & contrast

On white

9.28
#254875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#254875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254875
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254875#FFFFFF#000000##FFFFFF
##2548751.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B77
Deuteranopia (green-blind)
#294474
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254875;
/* rgb */ color: rgb(37, 72, 117);
/* oklch */ color: oklch(39.9% 0.087 255.6);
Tailwind
colors: {
  custom: {
    50: '#697a9d',
    500: '#254875',
    950: '#000000',
  },
}
SCSS
$custom: #254875;
$custom-light: #697a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#254875",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 213.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.08665,
    "h": 255.6
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#254875
secondary
#A8804E
accent
#9D4CDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254875

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

Preview Lab → · Contrast checker → · Palette generator →

#254875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva