#282575#282575

#282575 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.132 H 277.7°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#282575
RGBrgb(40, 37, 117)
HSLhsl(242, 52%, 30%)
HSVhsv(242, 68%, 46%)
CMYKcmyk(65.8%, 68.4%, 0%, 54.1%)
CIE-LABlab(20.28, 27.77, -45.50)
CIE-LCHlch(20.28, 53.30, 301.39°)
OKLaboklab(32.43% 0.0177 -0.1311)
OKLCHoklch(32.43% 0.132 277.7)
XYZxyz(4.7465, 3.0582, 17.1663)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282575 #727525
analogous
#254A75 #282575 #502575
triadic
#282575 #752825 #257528
tetradic
#282575 #75254A #727525 #257550
square
#282575 #75254A #727525 #257550
split-complementary
#282575 #755025 #4A7525
monochromatic
#080818 #181647 #282575 #3834A3 #524EC7

Accessibility & contrast

On white

13.03
#282575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#282575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282575
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282575#FFFFFF#000000##FFFFFF
##2825751.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282575;
/* rgb */ color: rgb(40, 37, 117);
/* oklch */ color: oklch(32.4% 0.132 277.7);
Tailwind
colors: {
  custom: {
    50: '#6c609e',
    500: '#282575',
    950: '#000000',
  },
}
SCSS
$custom: #282575;
$custom-light: #6c609e;
$custom-dark: #000000;
JSON
{
  "hex": "#282575",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 242.25,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32428,
    "c": 0.13234,
    "h": 277.7
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#282575
secondary
#A4A84E
accent
#DB4CD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #282575

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

Preview Lab → · Contrast checker → · Palette generator →

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