#254685#254685

#254685 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.113 H 261.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#254685
RGBrgb(37, 70, 133)
HSLhsl(219, 56%, 33%)
HSVhsv(219, 72%, 52%)
CMYKcmyk(72.2%, 47.4%, 0%, 47.8%)
CIE-LABlab(30.56, 10.73, -38.93)
CIE-LCHlch(30.56, 40.38, 285.41°)
OKLaboklab(40.49% -0.0159 -0.1115)
OKLCHoklch(40.49% 0.113 261.9)
XYZxyz(7.1852, 6.4663, 23.0552)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254685 #856425
analogous
#257685 #254685 #342585
triadic
#254685 #852546 #468525
tetradic
#254685 #852576 #856425 #258534
square
#254685 #852576 #856425 #258534
split-complementary
#254685 #853425 #768525
monochromatic
#0A1425 #182D55 #254685 #325FB5 #557FD0

Accessibility & contrast

On white

9.16
#254685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#254685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254685
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254685#FFFFFF#000000##FFFFFF
##2546851.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D87
Deuteranopia (green-blind)
#124484
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254685;
/* rgb */ color: rgb(37, 70, 133);
/* oklch */ color: oklch(40.5% 0.113 261.9);
Tailwind
colors: {
  custom: {
    50: '#6c79a9',
    500: '#254685',
    950: '#000000',
  },
}
SCSS
$custom: #254685;
$custom-light: #6c79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#254685",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 133
  },
  "hsl": {
    "h": 219.375,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.11262,
    "h": 261.9
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#254685
secondary
#B49252
accent
#AC48E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254685

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

Preview Lab → · Contrast checker → · Palette generator →

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