#254BAE#254BAE

#254BAE is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.164 H 264.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#254BAE
RGBrgb(37, 75, 174)
HSLhsl(223, 65%, 41%)
HSVhsv(223, 79%, 68%)
CMYKcmyk(78.7%, 56.9%, 0%, 31.8%)
CIE-LABlab(34.96, 23.37, -56.67)
CIE-LCHlch(34.96, 61.30, 292.41°)
OKLaboklab(44.78% -0.0154 -0.1636)
OKLCHoklch(44.78% 0.164 264.6)
XYZxyz(10.9163, 8.4802, 41.0977)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BAE #AE8825
analogous
#2590AE #254BAE #4425AE
triadic
#254BAE #AE254B #4BAE25
tetradic
#254BAE #AE2590 #AE8825 #25AE44
square
#254BAE #AE2590 #AE8825 #25AE44
split-complementary
#254BAE #AE4425 #90AE25
monochromatic
#101F49 #1A357C #254BAE #3B66D5 #6D8DE0

Accessibility & contrast

On white

7.79
#254BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#254BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BAE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BAE#FFFFFF#000000##FFFFFF
##254BAE1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #254bae;
/* rgb */ color: rgb(37, 75, 174);
/* oklch */ color: oklch(44.8% 0.164 264.6);
Tailwind
colors: {
  custom: {
    50: '#767cc7',
    500: '#254bae',
    950: '#000000',
  },
}
SCSS
$custom: #254bae;
$custom-light: #767cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#254bae",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 223.358,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.1643,
    "h": 264.6
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#254BAE
secondary
#C6AC68
accent
#B940E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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