#254689#254689

#254689 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.118 H 262.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#254689
RGBrgb(37, 70, 137)
HSLhsl(220, 57%, 34%)
HSVhsv(220, 73%, 54%)
CMYKcmyk(73%, 48.9%, 0%, 46.3%)
CIE-LABlab(30.83, 12.30, -40.97)
CIE-LCHlch(30.83, 42.78, 286.70°)
OKLaboklab(40.78% -0.0152 -0.1175)
OKLCHoklch(40.78% 0.118 262.6)
XYZxyz(7.4669, 6.5790, 24.5384)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254689 #896825
analogous
#257889 #254689 #362589
triadic
#254689 #892546 #468925
tetradic
#254689 #892578 #896825 #258936
square
#254689 #892578 #896825 #258936
split-complementary
#254689 #893625 #788925
monochromatic
#0B1529 #182D59 #254689 #325FB9 #577FD2

Accessibility & contrast

On white

9.07
#254689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#254689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254689
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254689#FFFFFF#000000##FFFFFF
##2546891.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8B
Deuteranopia (green-blind)
#084488
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254689;
/* rgb */ color: rgb(37, 70, 137);
/* oklch */ color: oklch(40.8% 0.118 262.6);
Tailwind
colors: {
  custom: {
    50: '#6d78ac',
    500: '#254689',
    950: '#000000',
  },
}
SCSS
$custom: #254689;
$custom-light: #6d78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#254689",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 137
  },
  "hsl": {
    "h": 220.2,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40782,
    "c": 0.11847,
    "h": 262.6
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#254689
secondary
#B69654
accent
#AE47E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #254689

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

Preview Lab → · Contrast checker → · Palette generator →

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