#254983#254983

#254983 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.106 H 259.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#254983
RGBrgb(37, 73, 131)
HSLhsl(217, 56%, 33%)
HSVhsv(217, 72%, 51%)
CMYKcmyk(71.8%, 44.3%, 0%, 48.6%)
CIE-LABlab(31.34, 7.91, -36.45)
CIE-LCHlch(31.34, 37.29, 282.25°)
OKLaboklab(41.05% -0.0193 -0.1041)
OKLCHoklch(41.05% 0.106 259.5)
XYZxyz(7.2408, 6.7963, 22.3986)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254983 #835F25
analogous
#257883 #254983 #302583
triadic
#254983 #832549 #498325
tetradic
#254983 #832578 #835F25 #258330
square
#254983 #832578 #835F25 #258330
split-complementary
#254983 #833025 #788325
monochromatic
#0A1424 #182E53 #254983 #3264B3 #5483CF

Accessibility & contrast

On white

8.90
#254983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#254983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254983
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254983#FFFFFF#000000##FFFFFF
##2549831.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#1D4682
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254983;
/* rgb */ color: rgb(37, 73, 131);
/* oklch */ color: oklch(41.0% 0.106 259.5);
Tailwind
colors: {
  custom: {
    50: '#6c7ba7',
    500: '#254983',
    950: '#000000',
  },
}
SCSS
$custom: #254983;
$custom-light: #6c7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#254983",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 217.021,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41048,
    "c": 0.1059,
    "h": 259.5
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#254983
secondary
#B38D51
accent
#A649DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254983

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

Preview Lab → · Contrast checker → · Palette generator →

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