#254583#254583

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

Color values

HEX#254583
RGBrgb(37, 69, 131)
HSLhsl(220, 56%, 33%)
HSVhsv(220, 72%, 51%)
CMYKcmyk(71.8%, 47.3%, 0%, 48.6%)
CIE-LABlab(30.13, 10.63, -38.39)
CIE-LCHlch(30.13, 39.83, 285.47°)
OKLaboklab(40.11% -0.0153 -0.1099)
OKLCHoklch(40.11% 0.111 262.1)
XYZxyz(6.9863, 6.2875, 22.3138)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254583 #836325
analogous
#257483 #254583 #342583
triadic
#254583 #832545 #458325
tetradic
#254583 #832574 #836325 #258334
square
#254583 #832574 #836325 #258334
split-complementary
#254583 #833425 #748325
monochromatic
#0A1324 #182C53 #254583 #325EB3 #547ECF

Accessibility & contrast

On white

9.30
#254583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#254583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254583
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254583#FFFFFF#000000##FFFFFF
##2545831.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C85
Deuteranopia (green-blind)
#124382
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254583;
/* rgb */ color: rgb(37, 69, 131);
/* oklch */ color: oklch(40.1% 0.111 262.1);
Tailwind
colors: {
  custom: {
    50: '#6c78a7',
    500: '#254583',
    950: '#000000',
  },
}
SCSS
$custom: #254583;
$custom-light: #6c78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254583",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 219.574,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40114,
    "c": 0.11095,
    "h": 262.1
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#254583
secondary
#B39251
accent
#AC49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254583

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

Preview Lab → · Contrast checker → · Palette generator →

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