#254382#254382

#254382 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.112 H 263.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#254382
RGBrgb(37, 67, 130)
HSLhsl(221, 56%, 33%)
HSVhsv(221, 72%, 51%)
CMYKcmyk(71.5%, 48.5%, 0%, 49%)
CIE-LABlab(29.46, 11.60, -38.84)
CIE-LCHlch(29.46, 40.53, 286.63°)
OKLaboklab(39.58% -0.0135 -0.1113)
OKLCHoklch(39.58% 0.112 263.1)
XYZxyz(6.7979, 6.0186, 21.9182)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254382 #826425
analogous
#257282 #254382 #352582
triadic
#254382 #822543 #438225
tetradic
#254382 #822572 #826425 #258235
square
#254382 #822572 #826425 #258235
split-complementary
#254382 #823525 #728225
monochromatic
#0A1223 #172A52 #254382 #335CB2 #537BCE

Accessibility & contrast

On white

9.53
#254382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#254382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254382
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254382#FFFFFF#000000##FFFFFF
##2543821.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#0E4181
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254382;
/* rgb */ color: rgb(37, 67, 130);
/* oklch */ color: oklch(39.6% 0.112 263.1);
Tailwind
colors: {
  custom: {
    50: '#6c76a7',
    500: '#254382',
    950: '#000000',
  },
}
SCSS
$custom: #254382;
$custom-light: #6c76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254382",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 220.645,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39581,
    "c": 0.11207,
    "h": 263.1
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#254382
secondary
#B29350
accent
#AF49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254382

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

Preview Lab → · Contrast checker → · Palette generator →

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