#254994#254994

#254994 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.131 H 262.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#254994
RGBrgb(37, 73, 148)
HSLhsl(221, 60%, 36%)
HSVhsv(221, 75%, 58%)
CMYKcmyk(75%, 50.7%, 0%, 42%)
CIE-LABlab(32.47, 14.57, -45.07)
CIE-LCHlch(32.47, 47.37, 287.92°)
OKLaboklab(42.28% -0.0163 -0.1295)
OKLCHoklch(42.28% 0.131 262.8)
XYZxyz(8.4889, 7.2956, 28.9720)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254994 #947025
analogous
#258194 #254994 #392594
triadic
#254994 #942549 #499425
tetradic
#254994 #942581 #947025 #259439
square
#254994 #942581 #947025 #259439
split-complementary
#254994 #943925 #819425
monochromatic
#0D1932 #193163 #254994 #3161C5 #5D84D6

Accessibility & contrast

On white

8.54
#254994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#254994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254994
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254994#FFFFFF#000000##FFFFFF
##2549941.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5297
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254994;
/* rgb */ color: rgb(37, 73, 148);
/* oklch */ color: oklch(42.3% 0.131 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f7bb4',
    500: '#254994',
    950: '#000000',
  },
}
SCSS
$custom: #254994;
$custom-light: #6f7bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#254994",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 148
  },
  "hsl": {
    "h": 220.541,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.13051,
    "h": 262.8
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#254994
secondary
#BB9C59
accent
#B045E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254994

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

Preview Lab → · Contrast checker → · Palette generator →

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