#254AA3#254AA3

#254AA3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.150 H 264.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#254AA3
RGBrgb(37, 74, 163)
HSLhsl(222, 63%, 39%)
HSVhsv(222, 77%, 64%)
CMYKcmyk(77.3%, 54.6%, 0%, 36.1%)
CIE-LABlab(33.85, 19.77, -51.92)
CIE-LCHlch(33.85, 55.55, 290.85°)
OKLaboklab(43.67% -0.0155 -0.1496)
OKLCHoklch(43.67% 0.15 264.1)
XYZxyz(9.8202, 7.9341, 35.6571)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254AA3 #A37E25
analogous
#2589A3 #254AA3 #3F25A3
triadic
#254AA3 #A3254A #4AA325
tetradic
#254AA3 #A32589 #A37E25 #25A33F
square
#254AA3 #A32589 #A37E25 #25A33F
split-complementary
#254AA3 #A33F25 #89A325
monochromatic
#0E1D3F #1A3371 #254AA3 #3462D1 #6689DC

Accessibility & contrast

On white

8.12
#254AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#254AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254AA3
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254AA3#FFFFFF#000000##FFFFFF
##254AA31.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #254aa3;
/* rgb */ color: rgb(37, 74, 163);
/* oklch */ color: oklch(43.7% 0.150 264.1);
Tailwind
colors: {
  custom: {
    50: '#737cbf',
    500: '#254aa3',
    950: '#000000',
  },
}
SCSS
$custom: #254aa3;
$custom-light: #737cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#254aa3",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 222.381,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43673,
    "c": 0.15042,
    "h": 264.1
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#254AA3
secondary
#C2A662
accent
#B642E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #254AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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