#254F68#254F68

#254F68 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 40.9% C 0.063 H 237.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#254F68
RGBrgb(37, 79, 104)
HSLhsl(202, 48%, 28%)
HSVhsv(202, 64%, 41%)
CMYKcmyk(64.4%, 24%, 0%, 59.2%)
CIE-LABlab(31.77, -6.20, -18.88)
CIE-LCHlch(31.77, 19.87, 251.82°)
OKLaboklab(40.91% -0.0341 -0.0529)
OKLCHoklch(40.91% 0.063 237.2)
XYZxyz(6.0567, 6.9842, 14.1229)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F68 #683E25
analogous
#25685F #254F68 #252D68
triadic
#254F68 #68254F #4F6825
tetradic
#254F68 #5F2568 #683E25 #2D6825
square
#254F68 #5F2568 #683E25 #2D6825
split-complementary
#254F68 #68252D #685F25
monochromatic
#081117 #152D3B #254F68 #357195 #4993BE

Accessibility & contrast

On white

8.76
#254F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#254F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F68
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F68#FFFFFF#000000##FFFFFF
##254F681.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F69
Deuteranopia (green-blind)
#3A4868
Tritanopia (blue-blind)
#005557
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254f68;
/* rgb */ color: rgb(37, 79, 104);
/* oklch */ color: oklch(40.9% 0.063 237.2);
Tailwind
colors: {
  custom: {
    50: '#678093',
    500: '#254f68',
    950: '#000000',
  },
}
SCSS
$custom: #254f68;
$custom-light: #678093;
$custom-dark: #000000;
JSON
{
  "hex": "#254f68",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 104
  },
  "hsl": {
    "h": 202.388,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.06292,
    "h": 237.2
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#254F68
secondary
#9B6B4E
accent
#8351D7
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #254F68

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

Preview Lab → · Contrast checker → · Palette generator →

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