#254899#254899

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

Color values

HEX#254899
RGBrgb(37, 72, 153)
HSLhsl(222, 61%, 37%)
HSVhsv(222, 76%, 60%)
CMYKcmyk(75.8%, 52.9%, 0%, 40%)
CIE-LABlab(32.54, 17.21, -48.00)
CIE-LCHlch(32.54, 50.99, 289.73°)
OKLaboklab(42.45% -0.0149 -0.1381)
OKLCHoklch(42.45% 0.139 263.9)
XYZxyz(8.8280, 7.3270, 31.0798)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254899 #997625
analogous
#258299 #254899 #3C2599
triadic
#254899 #992548 #489925
tetradic
#254899 #992582 #997625 #25993C
square
#254899 #992582 #997625 #25993C
split-complementary
#254899 #993C25 #829925
monochromatic
#0D1A36 #193168 #254899 #315FCA #6084D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254899#FFFFFF#000000##FFFFFF
##2548991.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)
#11529C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254899;
/* rgb */ color: rgb(37, 72, 153);
/* oklch */ color: oklch(42.4% 0.139 263.9);
Tailwind
colors: {
  custom: {
    50: '#717ab8',
    500: '#254899',
    950: '#000000',
  },
}
SCSS
$custom: #254899;
$custom-light: #717ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#254899",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 221.897,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.13892,
    "h": 263.9
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#254899
secondary
#BEA05C
accent
#B444E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #254899

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

Preview Lab → · Contrast checker → · Palette generator →

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