#254ABA#254ABA

#254ABA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.182 H 265.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#254ABA
RGBrgb(37, 74, 186)
HSLhsl(225, 67%, 44%)
HSVhsv(225, 80%, 73%)
CMYKcmyk(80.1%, 60.2%, 0%, 27.1%)
CIE-LABlab(35.66, 28.64, -62.62)
CIE-LCHlch(35.66, 68.86, 294.58°)
OKLaboklab(45.61% -0.0142 -0.1811)
OKLCHoklch(45.61% 0.182 265.5)
XYZxyz(12.0715, 8.8346, 47.5139)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254ABA #BA9525
analogous
#2594BA #254ABA #4B25BA
triadic
#254ABA #BA254A #4ABA25
tetradic
#254ABA #BA2594 #BA9525 #25BA4B
square
#254ABA #BA2594 #BA9525 #25BA4B
split-complementary
#254ABA #BA4B25 #94BA25
monochromatic
#112154 #1B3687 #254ABA #4368DA #7691E4

Accessibility & contrast

On white

7.59
#254ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#254ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254ABA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254ABA#FFFFFF#000000##FFFFFF
##254ABA1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #254aba;
/* rgb */ color: rgb(37, 74, 186);
/* oklch */ color: oklch(45.6% 0.182 265.5);
Tailwind
colors: {
  custom: {
    50: '#797cd0',
    500: '#254aba',
    950: '#000000',
  },
}
SCSS
$custom: #254aba;
$custom-light: #797cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#254aba",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 225.101,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45609,
    "c": 0.18163,
    "h": 265.5
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#254ABA
secondary
#CBB470
accent
#BF3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #254ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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