#281975#281975

#281975 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.147 H 280.7°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#281975
RGBrgb(40, 25, 117)
HSLhsl(250, 65%, 28%)
HSVhsv(250, 79%, 46%)
CMYKcmyk(65.8%, 78.6%, 0%, 54.1%)
CIE-LABlab(17.60, 35.14, -49.89)
CIE-LCHlch(17.60, 61.03, 305.16°)
OKLaboklab(30.51% 0.0272 -0.144)
OKLCHoklch(30.51% 0.147 280.7)
XYZxyz(4.4326, 2.4304, 17.0617)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281975 #667519
analogous
#193875 #281975 #561975
triadic
#281975 #752819 #197528
tetradic
#281975 #751938 #667519 #197556
square
#281975 #751938 #667519 #197556
split-complementary
#281975 #755619 #387519
monochromatic
#090519 #170E43 #281975 #3924A7 #4F35D4

Accessibility & contrast

On white

14.13
#281975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#281975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281975
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281975#FFFFFF#000000##FFFFFF
##2819751.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281975;
/* rgb */ color: rgb(40, 25, 117);
/* oklch */ color: oklch(30.5% 0.147 280.7);
Tailwind
colors: {
  custom: {
    50: '#6d589e',
    500: '#281975',
    950: '#000000',
  },
}
SCSS
$custom: #281975;
$custom-light: #6d589e;
$custom-dark: #000000;
JSON
{
  "hex": "#281975",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 249.783,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30515,
    "c": 0.14651,
    "h": 280.7
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#281975
secondary
#99AA40
accent
#E840CC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281975

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

Preview Lab → · Contrast checker → · Palette generator →

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