#254680#254680

#254680 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.105 H 260.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#254680
RGBrgb(37, 70, 128)
HSLhsl(218, 55%, 32%)
HSVhsv(218, 71%, 50%)
CMYKcmyk(71.1%, 45.3%, 0%, 49.8%)
CIE-LABlab(30.23, 8.77, -36.35)
CIE-LCHlch(30.23, 37.39, 283.57°)
OKLaboklab(40.13% -0.0168 -0.1039)
OKLCHoklch(40.13% 0.105 260.8)
XYZxyz(6.8480, 6.3314, 21.2791)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254680 #805F25
analogous
#257480 #254680 #322580
triadic
#254680 #802546 #468025
tetradic
#254680 #802574 #805F25 #258032
square
#254680 #802574 #805F25 #258032
split-complementary
#254680 #803225 #748025
monochromatic
#0A1221 #172C51 #254680 #3360AF #527FCD

Accessibility & contrast

On white

9.27
#254680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#254680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254680
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254680#FFFFFF#000000##FFFFFF
##2546801.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C82
Deuteranopia (green-blind)
#1A437F
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254680;
/* rgb */ color: rgb(37, 70, 128);
/* oklch */ color: oklch(40.1% 0.105 260.8);
Tailwind
colors: {
  custom: {
    50: '#6b79a5',
    500: '#254680',
    950: '#000000',
  },
}
SCSS
$custom: #254680;
$custom-light: #6b79a5;
$custom-dark: #000000;
JSON
{
  "hex": "#254680",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 128
  },
  "hsl": {
    "h": 218.242,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40134,
    "c": 0.10525,
    "h": 260.8
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#254680
secondary
#B18E50
accent
#A849DE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254680

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

Preview Lab → · Contrast checker → · Palette generator →

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