#254CB0#254CB0

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

Color values

HEX#254CB0
RGBrgb(37, 76, 176)
HSLhsl(223, 65%, 42%)
HSVhsv(223, 79%, 69%)
CMYKcmyk(79%, 56.8%, 0%, 31%)
CIE-LABlab(35.39, 23.48, -57.16)
CIE-LCHlch(35.39, 61.80, 292.33°)
OKLaboklab(45.15% -0.0159 -0.165)
OKLCHoklch(45.15% 0.166 264.5)
XYZxyz(11.1811, 8.6955, 42.1550)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CB0 #B08925
analogous
#2592B0 #254CB0 #4325B0
triadic
#254CB0 #B0254C #4CB025
tetradic
#254CB0 #B02592 #B08925 #25B043
square
#254CB0 #B02592 #B08925 #25B043
split-complementary
#254CB0 #B04325 #92B025
monochromatic
#10204B #1A367D #254CB0 #3C67D6 #6F8FE1

Accessibility & contrast

On white

7.67
#254CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254CB0
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CB0#FFFFFF#000000##FFFFFF
##254CB01.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #254cb0;
/* rgb */ color: rgb(37, 76, 176);
/* oklch */ color: oklch(45.2% 0.166 264.5);
Tailwind
colors: {
  custom: {
    50: '#767dc8',
    500: '#254cb0',
    950: '#000000',
  },
}
SCSS
$custom: #254cb0;
$custom-light: #767dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#254cb0",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 223.165,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.16578,
    "h": 264.5
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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