#254B99#254B99

#254B99 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.135 H 262.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#254B99
RGBrgb(37, 75, 153)
HSLhsl(220, 61%, 37%)
HSVhsv(220, 76%, 60%)
CMYKcmyk(75.8%, 51%, 0%, 40%)
CIE-LABlab(33.40, 15.18, -46.60)
CIE-LCHlch(33.40, 49.01, 288.04°)
OKLaboklab(43.11% -0.0174 -0.134)
OKLCHoklch(43.11% 0.135 262.6)
XYZxyz(9.0267, 7.7244, 31.1460)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B99 #997325
analogous
#258599 #254B99 #392599
triadic
#254B99 #99254B #4B9925
tetradic
#254B99 #992585 #997325 #259939
square
#254B99 #992585 #997325 #259939
split-complementary
#254B99 #993925 #859925
monochromatic
#0D1B36 #193368 #254B99 #3163CA #6087D9

Accessibility & contrast

On white

8.25
#254B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#254B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B99
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B99#FFFFFF#000000##FFFFFF
##254B991.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #254b99;
/* rgb */ color: rgb(37, 75, 153);
/* oklch */ color: oklch(43.1% 0.135 262.6);
Tailwind
colors: {
  custom: {
    50: '#707cb8',
    500: '#254b99',
    950: '#000000',
  },
}
SCSS
$custom: #254b99;
$custom-light: #707cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#254b99",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 220.345,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43106,
    "c": 0.13509,
    "h": 262.6
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#254B99
secondary
#BE9E5C
accent
#B044E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #254B99

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

Preview Lab → · Contrast checker → · Palette generator →

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