#282998#282998

#282998 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.175 H 273.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#282998
RGBrgb(40, 41, 152)
HSLhsl(239, 58%, 38%)
HSVhsv(239, 74%, 60%)
CMYKcmyk(73.7%, 73%, 0%, 40.4%)
CIE-LABlab(24.65, 37.65, -60.26)
CIE-LCHlch(24.65, 71.06, 301.99°)
OKLaboklab(36.63% 0.0099 -0.1743)
OKLCHoklch(36.63% 0.175 273.3)
XYZxyz(7.3336, 4.3033, 30.1438)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282998 #989728
analogous
#286198 #282998 #5F2898
triadic
#282998 #982829 #299828
tetradic
#282998 #982861 #989728 #28985F
square
#282998 #982861 #989728 #28985F
split-complementary
#282998 #985F28 #619828
monochromatic
#0F0F37 #1B1C68 #282998 #3536C8 #6465D6

Accessibility & contrast

On white

11.29
#282998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#282998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282998
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282998#FFFFFF#000000##FFFFFF
##2829981.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282998;
/* rgb */ color: rgb(40, 41, 152);
/* oklch */ color: oklch(36.6% 0.175 273.3);
Tailwind
colors: {
  custom: {
    50: '#7464b7',
    500: '#282998',
    950: '#000000',
  },
}
SCSS
$custom: #282998;
$custom-light: #7464b7;
$custom-dark: #000000;
JSON
{
  "hex": "#282998",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 239.464,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36628,
    "c": 0.1746,
    "h": 273.3
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#282998
secondary
#BCBB60
accent
#E046E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #282998

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

Preview Lab → · Contrast checker → · Palette generator →

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