#254AB0#254AB0

#254AB0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.168 H 265.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#254AB0
RGBrgb(37, 74, 176)
HSLhsl(224, 65%, 42%)
HSVhsv(224, 79%, 69%)
CMYKcmyk(79%, 58%, 0%, 31%)
CIE-LABlab(34.85, 24.81, -58.04)
CIE-LCHlch(34.85, 63.12, 293.15°)
OKLaboklab(44.75% -0.0146 -0.1676)
OKLCHoklch(44.75% 0.168 265)
XYZxyz(11.0454, 8.4242, 42.1098)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254AB0 #B08B25
analogous
#2590B0 #254AB0 #4625B0
triadic
#254AB0 #B0254A #4AB025
tetradic
#254AB0 #B02590 #B08B25 #25B046
square
#254AB0 #B02590 #B08B25 #25B046
split-complementary
#254AB0 #B04625 #90B025
monochromatic
#101F4B #1A357D #254AB0 #3C65D6 #6F8DE1

Accessibility & contrast

On white

7.82
#254AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#254AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254AB0
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254AB0#FFFFFF#000000##FFFFFF
##254AB01.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254ab0;
/* rgb */ color: rgb(37, 74, 176);
/* oklch */ color: oklch(44.7% 0.168 265.0);
Tailwind
colors: {
  custom: {
    50: '#767cc8',
    500: '#254ab0',
    950: '#000000',
  },
}
SCSS
$custom: #254ab0;
$custom-light: #767cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#254ab0",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 176
  },
  "hsl": {
    "h": 224.029,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44748,
    "c": 0.16825,
    "h": 265
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#254AB0
secondary
#C7AE6A
accent
#BB40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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