#254EAA#254EAA

#254EAA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.155 H 263.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#254EAA
RGBrgb(37, 78, 170)
HSLhsl(222, 64%, 41%)
HSVhsv(222, 78%, 67%)
CMYKcmyk(78.2%, 54.1%, 0%, 33.3%)
CIE-LABlab(35.48, 19.81, -53.44)
CIE-LCHlch(35.48, 57.00, 290.34°)
OKLaboklab(45.08% -0.0179 -0.154)
OKLCHoklch(45.08% 0.155 263.4)
XYZxyz(10.7404, 8.7431, 39.1440)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254EAA #AA8125
analogous
#2590AA #254EAA #3F25AA
triadic
#254EAA #AA254E #4EAA25
tetradic
#254EAA #AA2590 #AA8125 #25AA3F
square
#254EAA #AA2590 #AA8125 #25AA3F
split-complementary
#254EAA #AA3F25 #90AA25
monochromatic
#0F2045 #1A3778 #254EAA #3868D4 #6B8EDF

Accessibility & contrast

On white

7.64
#254EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#254EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254EAA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254EAA#FFFFFF#000000##FFFFFF
##254EAA1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025AAD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #254eaa;
/* rgb */ color: rgb(37, 78, 170);
/* oklch */ color: oklch(45.1% 0.155 263.4);
Tailwind
colors: {
  custom: {
    50: '#747fc4',
    500: '#254eaa',
    950: '#000000',
  },
}
SCSS
$custom: #254eaa;
$custom-light: #747fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#254eaa",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 221.504,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45081,
    "c": 0.15507,
    "h": 263.4
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#254EAA
secondary
#C5A866
accent
#B441E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #254EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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