#254AA0#254AA0

#254AA0 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.146 H 263.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#254AA0
RGBrgb(37, 74, 160)
HSLhsl(222, 62%, 39%)
HSVhsv(222, 77%, 63%)
CMYKcmyk(76.9%, 53.7%, 0%, 37.3%)
CIE-LABlab(33.62, 18.60, -50.47)
CIE-LCHlch(33.62, 53.79, 290.23°)
OKLaboklab(43.43% -0.0157 -0.1454)
OKLCHoklch(43.43% 0.146 263.8)
XYZxyz(9.5546, 7.8279, 34.2583)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254AA0 #A07B25
analogous
#2587A0 #254AA0 #3D25A0
triadic
#254AA0 #A0254A #4AA025
tetradic
#254AA0 #A02587 #A07B25 #25A03D
square
#254AA0 #A02587 #A07B25 #25A03D
split-complementary
#254AA0 #A03D25 #87A025
monochromatic
#0E1C3D #1A336E #254AA0 #3262D0 #6488DB

Accessibility & contrast

On white

8.18
#254AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#254AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254AA0
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254AA0#FFFFFF#000000##FFFFFF
##254AA01.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0955A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #254aa0;
/* rgb */ color: rgb(37, 74, 160);
/* oklch */ color: oklch(43.4% 0.146 263.8);
Tailwind
colors: {
  custom: {
    50: '#727bbd',
    500: '#254aa0',
    950: '#000000',
  },
}
SCSS
$custom: #254aa0;
$custom-light: #727bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#254aa0",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 221.951,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.14623,
    "h": 263.8
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#254AA0
secondary
#C1A460
accent
#B442E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #254AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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