#254B7C#254B7C

#254B7C is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.1% C 0.093 H 255.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#254B7C
RGBrgb(37, 75, 124)
HSLhsl(214, 54%, 32%)
HSVhsv(214, 70%, 49%)
CMYKcmyk(70.2%, 39.5%, 0%, 51.4%)
CIE-LABlab(31.53, 3.86, -31.79)
CIE-LCHlch(31.53, 32.02, 276.92°)
OKLaboklab(41.06% -0.023 -0.0904)
OKLCHoklch(41.06% 0.093 255.7)
XYZxyz(6.9158, 6.8800, 20.0284)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B7C #7C5625
analogous
#25777C #254B7C #2B257C
triadic
#254B7C #7C254B #4B7C25
tetradic
#254B7C #7C2577 #7C5625 #257C2B
square
#254B7C #7C2577 #7C5625 #257C2B
split-complementary
#254B7C #7C2B25 #777C25
monochromatic
#09121E #172E4D #254B7C #3368AB #5086CB

Accessibility & contrast

On white

8.84
#254B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#254B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B7C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B7C#FFFFFF#000000##FFFFFF
##254B7C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#28467B
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254b7c;
/* rgb */ color: rgb(37, 75, 124);
/* oklch */ color: oklch(41.1% 0.093 255.7);
Tailwind
colors: {
  custom: {
    50: '#6a7ca2',
    500: '#254b7c',
    950: '#000000',
  },
}
SCSS
$custom: #254b7c;
$custom-light: #6a7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#254b7c",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 124
  },
  "hsl": {
    "h": 213.793,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.09332,
    "h": 255.7
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#254B7C
secondary
#AE844F
accent
#9D4ADD
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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