#254F72#254F72

#254F72 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.075 H 246.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#254F72
RGBrgb(37, 79, 114)
HSLhsl(207, 51%, 30%)
HSVhsv(207, 68%, 45%)
CMYKcmyk(67.5%, 30.7%, 0%, 55.3%)
CIE-LABlab(32.26, -2.54, -24.41)
CIE-LCHlch(32.26, 24.54, 264.05°)
OKLaboklab(41.45% -0.0305 -0.0688)
OKLCHoklch(41.45% 0.075 246.1)
XYZxyz(6.5951, 7.1995, 16.9584)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F72 #724825
analogous
#25726F #254F72 #252972
triadic
#254F72 #72254F #4F7225
tetradic
#254F72 #6F2572 #724825 #297225
square
#254F72 #6F2572 #724825 #297225
split-complementary
#254F72 #722529 #726F25
monochromatic
#071017 #162F44 #254F72 #346FA0 #4C8EC5

Accessibility & contrast

On white

8.61
#254F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#254F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F72
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F72#FFFFFF#000000##FFFFFF
##254F721.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405074
Deuteranopia (green-blind)
#354971
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254f72;
/* rgb */ color: rgb(37, 79, 114);
/* oklch */ color: oklch(41.4% 0.075 246.1);
Tailwind
colors: {
  custom: {
    50: '#68809a',
    500: '#254f72',
    950: '#000000',
  },
}
SCSS
$custom: #254f72;
$custom-light: #68809a;
$custom-dark: #000000;
JSON
{
  "hex": "#254f72",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 207.273,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.07529,
    "h": 246.1
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#254F72
secondary
#A5754E
accent
#8D4DDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #254F72

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

Preview Lab → · Contrast checker → · Palette generator →

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