#254873#254873

#254873 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.084 H 254.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#254873
RGBrgb(37, 72, 115)
HSLhsl(213, 51%, 30%)
HSVhsv(213, 68%, 45%)
CMYKcmyk(67.8%, 37.4%, 0%, 54.9%)
CIE-LABlab(30.07, 2.40, -28.47)
CIE-LCHlch(30.07, 28.57, 274.82°)
OKLaboklab(39.75% -0.0221 -0.0808)
OKLCHoklch(39.75% 0.084 254.7)
XYZxyz(6.1737, 6.2652, 17.1003)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254873 #735025
analogous
#256F73 #254873 #292573
triadic
#254873 #732548 #487325
tetradic
#254873 #73256F #735025 #257329
square
#254873 #73256F #735025 #257329
split-complementary
#254873 #732925 #6F7325
monochromatic
#070E17 #162B45 #254873 #3465A1 #4D83C6

Accessibility & contrast

On white

9.32
#254873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#254873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254873
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254873#FFFFFF#000000##FFFFFF
##2548731.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B75
Deuteranopia (green-blind)
#2A4372
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254873;
/* rgb */ color: rgb(37, 72, 115);
/* oklch */ color: oklch(39.8% 0.084 254.7);
Tailwind
colors: {
  custom: {
    50: '#687a9b',
    500: '#254873',
    950: '#000000',
  },
}
SCSS
$custom: #254873;
$custom-light: #687a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#254873",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 213.077,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.08375,
    "h": 254.7
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#254873
secondary
#A67E4E
accent
#9B4DDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254873

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

Preview Lab → · Contrast checker → · Palette generator →

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