#254995#254995

#254995 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.132 H 263.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#254995
RGBrgb(37, 73, 149)
HSLhsl(221, 60%, 36%)
HSVhsv(221, 75%, 58%)
CMYKcmyk(75.2%, 51%, 0%, 41.6%)
CIE-LABlab(32.54, 14.97, -45.56)
CIE-LCHlch(32.54, 47.96, 288.18°)
OKLaboklab(42.36% -0.0162 -0.1309)
OKLCHoklch(42.36% 0.132 263)
XYZxyz(8.5684, 7.3274, 29.3907)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254995 #957125
analogous
#258195 #254995 #392595
triadic
#254995 #952549 #499525
tetradic
#254995 #952581 #957125 #259539
square
#254995 #952581 #957125 #259539
split-complementary
#254995 #953925 #819525
monochromatic
#0D1933 #193164 #254995 #3161C6 #5E85D7

Accessibility & contrast

On white

8.52
#254995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#254995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254995
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254995#FFFFFF#000000##FFFFFF
##2549951.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254995;
/* rgb */ color: rgb(37, 73, 149);
/* oklch */ color: oklch(42.4% 0.132 263.0);
Tailwind
colors: {
  custom: {
    50: '#707bb5',
    500: '#254995',
    950: '#000000',
  },
}
SCSS
$custom: #254995;
$custom-light: #707bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#254995",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 149
  },
  "hsl": {
    "h": 220.714,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42358,
    "c": 0.13195,
    "h": 263
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#254995
secondary
#BC9C5A
accent
#B044E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254995

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

Preview Lab → · Contrast checker → · Palette generator →

#254995 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva