#282598#282598

#282598 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.179 H 273.9°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#282598
RGBrgb(40, 37, 152)
HSLhsl(242, 61%, 37%)
HSVhsv(242, 76%, 60%)
CMYKcmyk(73.7%, 75.7%, 0%, 40.4%)
CIE-LABlab(23.80, 40.01, -61.66)
CIE-LCHlch(23.80, 73.50, 302.98°)
OKLaboklab(36.03% 0.0121 -0.1784)
OKLCHoklch(36.03% 0.179 273.9)
XYZxyz(7.2022, 4.0405, 30.1000)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282598 #959825
analogous
#255C98 #282598 #622598
triadic
#282598 #982825 #259828
tetradic
#282598 #98255C #959825 #259862
square
#282598 #98255C #959825 #259862
split-complementary
#282598 #986225 #5C9825
monochromatic
#0E0D36 #1B1967 #282598 #3531C9 #625FD8

Accessibility & contrast

On white

11.61
#282598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282598
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282598#FFFFFF#000000##FFFFFF
##2825981.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003396
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282598;
/* rgb */ color: rgb(40, 37, 152);
/* oklch */ color: oklch(36.0% 0.179 273.9);
Tailwind
colors: {
  custom: {
    50: '#7461b8',
    500: '#282598',
    950: '#000000',
  },
}
SCSS
$custom: #282598;
$custom-light: #7461b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282598",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 241.565,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36027,
    "c": 0.17877,
    "h": 273.9
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#282598
secondary
#BBBD5C
accent
#E444E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282598

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

Preview Lab → · Contrast checker → · Palette generator →

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