#282974#282974

#282974 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.126 H 276.5°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#282974
RGBrgb(40, 41, 116)
HSLhsl(239, 49%, 31%)
HSVhsv(239, 66%, 45%)
CMYKcmyk(65.5%, 64.7%, 0%, 54.5%)
CIE-LABlab(21.20, 24.73, -43.35)
CIE-LCHlch(21.20, 49.91, 299.70°)
OKLaboklab(33.07% 0.0142 -0.1248)
OKLCHoklch(33.07% 0.126 276.5)
XYZxyz(4.8194, 3.2976, 16.9021)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282974 #747328
analogous
#284F74 #282974 #4D2874
triadic
#282974 #742829 #297428
tetradic
#282974 #74284F #747328 #28744D
square
#282974 #74284F #747328 #28744D
split-complementary
#282974 #744D28 #4F7428
monochromatic
#090919 #181946 #282974 #3839A2 #5354C4

Accessibility & contrast

On white

12.65
#282974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282974
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282974#FFFFFF#000000##FFFFFF
##2829741.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282974;
/* rgb */ color: rgb(40, 41, 116);
/* oklch */ color: oklch(33.1% 0.126 276.5);
Tailwind
colors: {
  custom: {
    50: '#6c639d',
    500: '#282974',
    950: '#000000',
  },
}
SCSS
$custom: #282974;
$custom-light: #6c639d;
$custom-dark: #000000;
JSON
{
  "hex": "#282974",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 239.211,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.12563,
    "h": 276.5
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#282974
secondary
#A6A552
accent
#D650D8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282974

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

Preview Lab → · Contrast checker → · Palette generator →

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