#254D90#254D90

#254D90 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.120 H 260.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#254D90
RGBrgb(37, 77, 144)
HSLhsl(218, 59%, 35%)
HSVhsv(218, 74%, 56%)
CMYKcmyk(74.3%, 46.5%, 0%, 43.5%)
CIE-LABlab(33.38, 10.31, -41.17)
CIE-LCHlch(33.38, 42.44, 284.05°)
OKLaboklab(42.89% -0.0206 -0.1179)
OKLCHoklch(42.89% 0.12 260.1)
XYZxyz(8.4491, 7.7138, 27.4238)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D90 #906825
analogous
#258290 #254D90 #322590
triadic
#254D90 #90254D #4D9025
tetradic
#254D90 #902582 #906825 #259032
square
#254D90 #902582 #906825 #259032
split-complementary
#254D90 #903225 #829025
monochromatic
#0C192F #18335F #254D90 #3267C1 #5B88D5

Accessibility & contrast

On white

8.26
#254D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#254D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D90
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D90#FFFFFF#000000##FFFFFF
##254D901.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5493
Deuteranopia (green-blind)
#144A8F
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254d90;
/* rgb */ color: rgb(37, 77, 144);
/* oklch */ color: oklch(42.9% 0.120 260.1);
Tailwind
colors: {
  custom: {
    50: '#6e7eb1',
    500: '#254d90',
    950: '#000000',
  },
}
SCSS
$custom: #254d90;
$custom-light: #6e7eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#254d90",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 144
  },
  "hsl": {
    "h": 217.57,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42892,
    "c": 0.11972,
    "h": 260.1
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#254D90
secondary
#B99557
accent
#A845E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254D90

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

Preview Lab → · Contrast checker → · Palette generator →

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