#254DBA#254DBA

#254DBA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.178 H 264.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#254DBA
RGBrgb(37, 77, 186)
HSLhsl(224, 67%, 44%)
HSVhsv(224, 80%, 73%)
CMYKcmyk(80.1%, 58.6%, 0%, 27.1%)
CIE-LABlab(36.45, 26.66, -61.34)
CIE-LCHlch(36.45, 66.88, 293.49°)
OKLaboklab(46.2% -0.0161 -0.1773)
OKLCHoklch(46.2% 0.178 264.8)
XYZxyz(12.2766, 9.2448, 47.5822)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254DBA #BA9225
analogous
#2597BA #254DBA #4825BA
triadic
#254DBA #BA254D #4DBA25
tetradic
#254DBA #BA2597 #BA9225 #25BA48
square
#254DBA #BA2597 #BA9225 #25BA48
split-complementary
#254DBA #BA4825 #97BA25
monochromatic
#112354 #1B3887 #254DBA #436BDA #7693E4

Accessibility & contrast

On white

7.37
#254DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#254DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254DBA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254DBA#FFFFFF#000000##FFFFFF
##254DBA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #254dba;
/* rgb */ color: rgb(37, 77, 186);
/* oklch */ color: oklch(46.2% 0.178 264.8);
Tailwind
colors: {
  custom: {
    50: '#787ed0',
    500: '#254dba',
    950: '#000000',
  },
}
SCSS
$custom: #254dba;
$custom-light: #787ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#254dba",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 223.893,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.17799,
    "h": 264.8
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#254DBA
secondary
#CBB370
accent
#BC3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #254DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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