#254F83#254F83

#254F83 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.099 H 255.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#254F83
RGBrgb(37, 79, 131)
HSLhsl(213, 56%, 33%)
HSVhsv(213, 72%, 51%)
CMYKcmyk(71.8%, 39.7%, 0%, 48.6%)
CIE-LABlab(33.19, 3.91, -33.50)
CIE-LCHlch(33.19, 33.73, 276.66°)
OKLaboklab(42.48% -0.0254 -0.0954)
OKLCHoklch(42.48% 0.099 255.1)
XYZxyz(7.6542, 7.6232, 22.5364)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F83 #835925
analogous
#257E83 #254F83 #2A2583
triadic
#254F83 #83254F #4F8325
tetradic
#254F83 #83257E #835925 #25832A
square
#254F83 #83257E #835925 #25832A
split-complementary
#254F83 #832A25 #7E8325
monochromatic
#0A1524 #183253 #254F83 #326CB3 #548BCF

Accessibility & contrast

On white

8.32
#254F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#254F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F83
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F83#FFFFFF#000000##FFFFFF
##254F831.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375385
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254f83;
/* rgb */ color: rgb(37, 79, 131);
/* oklch */ color: oklch(42.5% 0.099 255.1);
Tailwind
colors: {
  custom: {
    50: '#6c7fa7',
    500: '#254f83',
    950: '#000000',
  },
}
SCSS
$custom: #254f83;
$custom-light: #6c7fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#254f83",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 213.191,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.09873,
    "h": 255.1
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#254F83
secondary
#B38751
accent
#9C49DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254F83

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

Preview Lab → · Contrast checker → · Palette generator →

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