#254681#254681

#254681 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.107 H 261.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#254681
RGBrgb(37, 70, 129)
HSLhsl(218, 55%, 33%)
HSVhsv(218, 71%, 51%)
CMYKcmyk(71.3%, 45.7%, 0%, 49.4%)
CIE-LABlab(30.30, 9.16, -36.87)
CIE-LCHlch(30.30, 37.99, 283.96°)
OKLaboklab(40.2% -0.0166 -0.1054)
OKLCHoklch(40.2% 0.107 261)
XYZxyz(6.9141, 6.3579, 21.6274)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254681 #816025
analogous
#257481 #254681 #322581
triadic
#254681 #812546 #468125
tetradic
#254681 #812574 #816025 #258132
square
#254681 #812574 #816025 #258132
split-complementary
#254681 #813225 #748125
monochromatic
#0A1222 #172C51 #254681 #3360B1 #537FCE

Accessibility & contrast

On white

9.24
#254681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254681
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254681#FFFFFF#000000##FFFFFF
##2546811.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#194380
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254681;
/* rgb */ color: rgb(37, 70, 129);
/* oklch */ color: oklch(40.2% 0.107 261.0);
Tailwind
colors: {
  custom: {
    50: '#6b79a6',
    500: '#254681',
    950: '#000000',
  },
}
SCSS
$custom: #254681;
$custom-light: #6b79a6;
$custom-dark: #000000;
JSON
{
  "hex": "#254681",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 129
  },
  "hsl": {
    "h": 218.478,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.10672,
    "h": 261
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#254681
secondary
#B28F50
accent
#A949DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254681

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

Preview Lab → · Contrast checker → · Palette generator →

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