#254BB3#254BB3

#254BB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.171 H 264.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#254BB3
RGBrgb(37, 75, 179)
HSLhsl(224, 66%, 42%)
HSVhsv(224, 79%, 70%)
CMYKcmyk(79.3%, 58.1%, 0%, 29.8%)
CIE-LABlab(35.36, 25.30, -58.99)
CIE-LCHlch(35.36, 64.19, 293.21°)
OKLaboklab(45.2% -0.0151 -0.1704)
OKLCHoklch(45.2% 0.171 264.9)
XYZxyz(11.4128, 8.6788, 43.7128)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BB3 #B38D25
analogous
#2592B3 #254BB3 #4625B3
triadic
#254BB3 #B3254B #4BB325
tetradic
#254BB3 #B32592 #B38D25 #25B346
square
#254BB3 #B32592 #B38D25 #25B346
split-complementary
#254BB3 #B34625 #92B325
monochromatic
#10204E #1B3680 #254BB3 #3E67D7 #718FE2

Accessibility & contrast

On white

7.68
#254BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#254BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BB3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BB3#FFFFFF#000000##FFFFFF
##254BB31.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #254bb3;
/* rgb */ color: rgb(37, 75, 179);
/* oklch */ color: oklch(45.2% 0.171 264.9);
Tailwind
colors: {
  custom: {
    50: '#777ccb',
    500: '#254bb3',
    950: '#000000',
  },
}
SCSS
$custom: #254bb3;
$custom-light: #777ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#254bb3",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 223.944,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45203,
    "c": 0.17107,
    "h": 264.9
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#254BB3
secondary
#C8B06B
accent
#BB3FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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