#254F62#254F62

#254F62 is a dark, muted cyan. Relative luminance 0.069; OKLCH L 40.6% C 0.057 H 229.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#254F62
RGBrgb(37, 79, 98)
HSLhsl(199, 45%, 26%)
HSVhsv(199, 62%, 38%)
CMYKcmyk(62.2%, 19.4%, 0%, 61.6%)
CIE-LABlab(31.50, -8.32, -15.50)
CIE-LCHlch(31.50, 17.59, 241.77°)
OKLaboklab(40.6% -0.0365 -0.0432)
OKLCHoklch(40.6% 0.057 229.8)
XYZxyz(5.7627, 6.8666, 12.5746)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F62 #623825
analogous
#256257 #254F62 #253162
triadic
#254F62 #62254F #4F6225
tetradic
#254F62 #572562 #623825 #316225
square
#254F62 #572562 #623825 #316225
split-complementary
#254F62 #622531 #625725
monochromatic
#081216 #142B36 #254F62 #36738E #4896BA

Accessibility & contrast

On white

8.85
#254F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#254F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F62
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F62#FFFFFF#000000##FFFFFF
##254F621.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E63
Deuteranopia (green-blind)
#3D4762
Tritanopia (blue-blind)
#005455
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254f62;
/* rgb */ color: rgb(37, 79, 98);
/* oklch */ color: oklch(40.6% 0.057 229.8);
Tailwind
colors: {
  custom: {
    50: '#66808e',
    500: '#254f62',
    950: '#000000',
  },
}
SCSS
$custom: #254f62;
$custom-light: #66808e;
$custom-dark: #000000;
JSON
{
  "hex": "#254f62",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 98
  },
  "hsl": {
    "h": 198.689,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.05657,
    "h": 229.8
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#254F62
secondary
#95644E
accent
#7B53D5
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #254F62

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

Preview Lab → · Contrast checker → · Palette generator →

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