#254CBA#254CBA

#254CBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.179 H 265.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#254CBA
RGBrgb(37, 76, 186)
HSLhsl(224, 67%, 44%)
HSVhsv(224, 80%, 73%)
CMYKcmyk(80.1%, 59.1%, 0%, 27.1%)
CIE-LABlab(36.19, 27.32, -61.77)
CIE-LCHlch(36.19, 67.54, 293.86°)
OKLaboklab(46% -0.0155 -0.1785)
OKLCHoklch(46% 0.179 265)
XYZxyz(12.2072, 9.1059, 47.5591)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CBA #BA9325
analogous
#2596BA #254CBA #4825BA
triadic
#254CBA #BA254C #4CBA25
tetradic
#254CBA #BA2596 #BA9325 #25BA48
square
#254CBA #BA2596 #BA9325 #25BA48
split-complementary
#254CBA #BA4825 #96BA25
monochromatic
#112254 #1B3787 #254CBA #436ADA #7692E4

Accessibility & contrast

On white

7.44
#254CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#254CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254CBA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CBA#FFFFFF#000000##FFFFFF
##254CBA1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #254cba;
/* rgb */ color: rgb(37, 76, 186);
/* oklch */ color: oklch(46.0% 0.179 265.0);
Tailwind
colors: {
  custom: {
    50: '#787dd0',
    500: '#254cba',
    950: '#000000',
  },
}
SCSS
$custom: #254cba;
$custom-light: #787dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#254cba",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 224.295,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46,
    "c": 0.17921,
    "h": 265
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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