#254EB9#254EB9

#254EB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.175 H 264.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#254EB9
RGBrgb(37, 78, 185)
HSLhsl(223, 67%, 44%)
HSVhsv(223, 80%, 73%)
CMYKcmyk(80%, 57.8%, 0%, 27.5%)
CIE-LABlab(36.64, 25.62, -60.45)
CIE-LCHlch(36.64, 65.65, 292.97°)
OKLaboklab(46.31% -0.0168 -0.1746)
OKLCHoklch(46.31% 0.175 264.5)
XYZxyz(12.2412, 9.3434, 47.0478)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254EB9 #B99025
analogous
#2598B9 #254EB9 #4625B9
triadic
#254EB9 #B9254E #4EB925
tetradic
#254EB9 #B92598 #B99025 #25B946
square
#254EB9 #B92598 #B99025 #25B946
split-complementary
#254EB9 #B94625 #98B925
monochromatic
#112353 #1B3886 #254EB9 #426CD9 #7594E3

Accessibility & contrast

On white

7.32
#254EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#254EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254EB9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254EB9#FFFFFF#000000##FFFFFF
##254EB91.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #254eb9;
/* rgb */ color: rgb(37, 78, 185);
/* oklch */ color: oklch(46.3% 0.175 264.5);
Tailwind
colors: {
  custom: {
    50: '#787fcf',
    500: '#254eb9',
    950: '#000000',
  },
}
SCSS
$custom: #254eb9;
$custom-light: #787fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#254eb9",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 223.378,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.17544,
    "h": 264.5
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#254EB9
secondary
#CBB16F
accent
#BA3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #254EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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