#254284#254284

#254284 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.116 H 264.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#254284
RGBrgb(37, 66, 132)
HSLhsl(222, 56%, 33%)
HSVhsv(222, 72%, 52%)
CMYKcmyk(72%, 50%, 0%, 48.2%)
CIE-LABlab(29.30, 13.07, -40.34)
CIE-LCHlch(29.30, 42.40, 287.95°)
OKLaboklab(39.5% -0.0122 -0.1157)
OKLCHoklch(39.5% 0.116 264)
XYZxyz(6.8746, 5.9550, 22.6125)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254284 #846725
analogous
#257184 #254284 #372584
triadic
#254284 #842542 #428425
tetradic
#254284 #842571 #846725 #258437
square
#254284 #842571 #846725 #258437
split-complementary
#254284 #843725 #718425
monochromatic
#0A1224 #182A54 #254284 #325AB4 #547ACF

Accessibility & contrast

On white

9.58
#254284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#254284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254284
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254284#FFFFFF#000000##FFFFFF
##2542841.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A86
Deuteranopia (green-blind)
#044183
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254284;
/* rgb */ color: rgb(37, 66, 132);
/* oklch */ color: oklch(39.5% 0.116 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c75a8',
    500: '#254284',
    950: '#000000',
  },
}
SCSS
$custom: #254284;
$custom-light: #6c75a8;
$custom-dark: #000000;
JSON
{
  "hex": "#254284",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 221.684,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39501,
    "c": 0.11633,
    "h": 264
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#254284
secondary
#B39551
accent
#B148E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254284

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

Preview Lab → · Contrast checker → · Palette generator →

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