#254690#254690

#254690 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.129 H 263.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#254690
RGBrgb(37, 70, 144)
HSLhsl(221, 59%, 35%)
HSVhsv(221, 74%, 56%)
CMYKcmyk(74.3%, 51.4%, 0%, 43.5%)
CIE-LABlab(31.32, 15.04, -44.49)
CIE-LCHlch(31.32, 46.96, 288.68°)
OKLaboklab(41.31% -0.0142 -0.1278)
OKLCHoklch(41.31% 0.129 263.7)
XYZxyz(7.9854, 6.7864, 27.2692)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254690 #906F25
analogous
#257B90 #254690 #392590
triadic
#254690 #902546 #469025
tetradic
#254690 #90257B #906F25 #259039
square
#254690 #90257B #906F25 #259039
split-complementary
#254690 #903925 #7B9025
monochromatic
#0C172F #182E5F #254690 #325EC1 #5B80D5

Accessibility & contrast

On white

8.91
#254690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#254690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254690
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254690#FFFFFF#000000##FFFFFF
##2546901.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F93
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254690;
/* rgb */ color: rgb(37, 70, 144);
/* oklch */ color: oklch(41.3% 0.129 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f78b1',
    500: '#254690',
    950: '#000000',
  },
}
SCSS
$custom: #254690;
$custom-light: #6f78b1;
$custom-dark: #000000;
JSON
{
  "hex": "#254690",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 144
  },
  "hsl": {
    "h": 221.495,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.12863,
    "h": 263.7
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#254690
secondary
#B99B57
accent
#B245E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254690

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

Preview Lab → · Contrast checker → · Palette generator →

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