#254F7A#254F7A

#254F7A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.086 H 251.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#254F7A
RGBrgb(37, 79, 122)
HSLhsl(210, 53%, 31%)
HSVhsv(210, 70%, 48%)
CMYKcmyk(69.7%, 35.2%, 0%, 52.2%)
CIE-LABlab(32.68, 0.47, -28.73)
CIE-LCHlch(32.68, 28.74, 270.93°)
OKLaboklab(41.92% -0.0279 -0.0814)
OKLCHoklch(41.92% 0.086 251.1)
XYZxyz(7.0705, 7.3897, 19.4623)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F7A #7A5025
analogous
#25797A #254F7A #25257A
triadic
#254F7A #7A254F #4F7A25
tetradic
#254F7A #7A2579 #7A5025 #257A25
square
#254F7A #7A2579 #7A5025 #257A25
split-complementary
#254F7A #7A2525 #797A25
monochromatic
#09121C #17314B #254F7A #336DA9 #508CCA

Accessibility & contrast

On white

8.47
#254F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#254F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F7A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F7A#FFFFFF#000000##FFFFFF
##254F7A1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517C
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254f7a;
/* rgb */ color: rgb(37, 79, 122);
/* oklch */ color: oklch(41.9% 0.086 251.1);
Tailwind
colors: {
  custom: {
    50: '#6a80a0',
    500: '#254f7a',
    950: '#000000',
  },
}
SCSS
$custom: #254f7a;
$custom-light: #6a80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#254f7a",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 122
  },
  "hsl": {
    "h": 210.353,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4192,
    "c": 0.0861,
    "h": 251.1
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#254F7A
secondary
#AC7E4E
accent
#954BDD
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #254F7A

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

Preview Lab → · Contrast checker → · Palette generator →

#254F7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva