#254282#254282

#254282 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.113 H 263.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#254282
RGBrgb(37, 66, 130)
HSLhsl(221, 56%, 33%)
HSVhsv(221, 72%, 51%)
CMYKcmyk(71.5%, 49.2%, 0%, 49%)
CIE-LABlab(29.16, 12.29, -39.32)
CIE-LCHlch(29.16, 41.19, 287.35°)
OKLaboklab(39.35% -0.0125 -0.1127)
OKLCHoklch(39.35% 0.113 263.7)
XYZxyz(6.7390, 5.9008, 21.8986)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254282 #826525
analogous
#257182 #254282 #362582
triadic
#254282 #822542 #428225
tetradic
#254282 #822571 #826525 #258236
square
#254282 #822571 #826525 #258236
split-complementary
#254282 #823625 #718225
monochromatic
#0A1223 #172A52 #254282 #335AB2 #537ACE

Accessibility & contrast

On white

9.63
#254282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#254282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254282
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254282#FFFFFF#000000##FFFFFF
##2542821.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#094181
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254282;
/* rgb */ color: rgb(37, 66, 130);
/* oklch */ color: oklch(39.4% 0.113 263.7);
Tailwind
colors: {
  custom: {
    50: '#6c75a7',
    500: '#254282',
    950: '#000000',
  },
}
SCSS
$custom: #254282;
$custom-light: #6c75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254282",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 221.29,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39352,
    "c": 0.11338,
    "h": 263.7
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#254282
secondary
#B29450
accent
#B049DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254282

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

Preview Lab → · Contrast checker → · Palette generator →

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