#254EA0#254EA0

#254EA0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.141 H 262.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#254EA0
RGBrgb(37, 78, 160)
HSLhsl(220, 62%, 39%)
HSVhsv(220, 77%, 63%)
CMYKcmyk(76.9%, 51.2%, 0%, 37.3%)
CIE-LABlab(34.76, 15.90, -48.63)
CIE-LCHlch(34.76, 51.17, 288.11°)
OKLaboklab(44.3% -0.019 -0.1399)
OKLCHoklch(44.3% 0.141 262.3)
XYZxyz(9.8302, 8.3791, 34.3501)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254EA0 #A07725
analogous
#258BA0 #254EA0 #3925A0
triadic
#254EA0 #A0254E #4EA025
tetradic
#254EA0 #A0258B #A07725 #25A039
square
#254EA0 #A0258B #A07725 #25A039
split-complementary
#254EA0 #A03925 #8BA025
monochromatic
#0E1E3D #1A366E #254EA0 #3267D0 #648CDB

Accessibility & contrast

On white

7.85
#254EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#254EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254EA0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254EA0#FFFFFF#000000##FFFFFF
##254EA01.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #254ea0;
/* rgb */ color: rgb(37, 78, 160);
/* oklch */ color: oklch(44.3% 0.141 262.3);
Tailwind
colors: {
  custom: {
    50: '#727fbd',
    500: '#254ea0',
    950: '#000000',
  },
}
SCSS
$custom: #254ea0;
$custom-light: #727fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#254ea0",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 220,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44299,
    "c": 0.14117,
    "h": 262.3
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#254EA0
secondary
#C1A160
accent
#AF42E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #254EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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