#254DA3#254DA3

#254DA3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.147 H 263.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#254DA3
RGBrgb(37, 77, 163)
HSLhsl(221, 63%, 39%)
HSVhsv(221, 77%, 64%)
CMYKcmyk(77.3%, 52.8%, 0%, 36.1%)
CIE-LABlab(34.69, 17.75, -50.55)
CIE-LCHlch(34.69, 53.57, 289.35°)
OKLaboklab(44.31% -0.0178 -0.1455)
OKLCHoklch(44.31% 0.147 263)
XYZxyz(10.0253, 8.3443, 35.7255)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254DA3 #A37B25
analogous
#258CA3 #254DA3 #3C25A3
triadic
#254DA3 #A3254D #4DA325
tetradic
#254DA3 #A3258C #A37B25 #25A33C
square
#254DA3 #A3258C #A37B25 #25A33C
split-complementary
#254DA3 #A33C25 #8CA325
monochromatic
#0E1E3F #1A3571 #254DA3 #3466D1 #668CDC

Accessibility & contrast

On white

7.87
#254DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#254DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254DA3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254DA3#FFFFFF#000000##FFFFFF
##254DA31.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #254da3;
/* rgb */ color: rgb(37, 77, 163);
/* oklch */ color: oklch(44.3% 0.147 263.0);
Tailwind
colors: {
  custom: {
    50: '#737ebf',
    500: '#254da3',
    950: '#000000',
  },
}
SCSS
$custom: #254da3;
$custom-light: #737ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#254da3",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 163
  },
  "hsl": {
    "h": 220.952,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.14663,
    "h": 263
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#254DA3
secondary
#C2A362
accent
#B242E6
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #254DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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