#254DB0#254DB0

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

Color values

HEX#254DB0
RGBrgb(37, 77, 176)
HSLhsl(223, 65%, 42%)
HSVhsv(223, 79%, 69%)
CMYKcmyk(79%, 56.2%, 0%, 31%)
CIE-LABlab(35.66, 22.81, -56.72)
CIE-LCHlch(35.66, 61.13, 291.91°)
OKLaboklab(45.36% -0.0167 -0.1637)
OKLCHoklch(45.36% 0.165 264.2)
XYZxyz(11.2505, 8.8344, 42.1781)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254DB0 #B08825
analogous
#2593B0 #254DB0 #4325B0
triadic
#254DB0 #B0254D #4DB025
tetradic
#254DB0 #B02593 #B08825 #25B043
square
#254DB0 #B02593 #B08825 #25B043
split-complementary
#254DB0 #B04325 #93B025
monochromatic
#10214B #1A377D #254DB0 #3C68D6 #6F90E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254DB0#FFFFFF#000000##FFFFFF
##254DB01.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)
#005BB3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #254db0;
/* rgb */ color: rgb(37, 77, 176);
/* oklch */ color: oklch(45.4% 0.165 264.2);
Tailwind
colors: {
  custom: {
    50: '#767ec8',
    500: '#254db0',
    950: '#000000',
  },
}
SCSS
$custom: #254db0;
$custom-light: #767ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#254db0",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 222.734,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.16453,
    "h": 264.2
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#254DB0
secondary
#C7AC6A
accent
#B840E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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