#254B95#254B95

#254B95 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.129 H 262.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#254B95
RGBrgb(37, 75, 149)
HSLhsl(220, 60%, 36%)
HSVhsv(220, 75%, 58%)
CMYKcmyk(75.2%, 49.7%, 0%, 41.6%)
CIE-LABlab(33.12, 13.61, -44.62)
CIE-LCHlch(33.12, 46.65, 286.96°)
OKLaboklab(42.8% -0.0179 -0.1281)
OKLCHoklch(42.8% 0.129 262)
XYZxyz(8.7019, 7.5944, 29.4352)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B95 #956F25
analogous
#258395 #254B95 #372595
triadic
#254B95 #95254B #4B9525
tetradic
#254B95 #952583 #956F25 #259537
square
#254B95 #952583 #956F25 #259537
split-complementary
#254B95 #953725 #839525
monochromatic
#0D1A33 #193264 #254B95 #3164C6 #5E87D7

Accessibility & contrast

On white

8.34
#254B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#254B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B95
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B95#FFFFFF#000000##FFFFFF
##254B951.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254b95;
/* rgb */ color: rgb(37, 75, 149);
/* oklch */ color: oklch(42.8% 0.129 262.0);
Tailwind
colors: {
  custom: {
    50: '#707cb5',
    500: '#254b95',
    950: '#000000',
  },
}
SCSS
$custom: #254b95;
$custom-light: #707cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#254b95",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 219.643,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.1294,
    "h": 262
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#254B95
secondary
#BC9B5A
accent
#AD44E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254B95

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

Preview Lab → · Contrast checker → · Palette generator →

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