#282290#282290

#282290 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.172 H 275.1°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#282290
RGBrgb(40, 34, 144)
HSLhsl(243, 62%, 35%)
HSVhsv(243, 76%, 56%)
CMYKcmyk(72.2%, 76.4%, 0%, 43.5%)
CIE-LABlab(22.33, 39.03, -59.15)
CIE-LCHlch(22.33, 70.87, 303.42°)
OKLaboklab(34.73% 0.0153 -0.171)
OKLCHoklch(34.73% 0.172 275.1)
XYZxyz(6.4795, 3.6082, 26.7351)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282290 #8A9022
analogous
#225390 #282290 #5F2290
triadic
#282290 #902822 #229028
tetradic
#282290 #902253 #8A9022 #22905F
square
#282290 #902253 #8A9022 #22905F
split-complementary
#282290 #905F22 #539022
monochromatic
#0C0B2D #1A165E #282290 #362EC2 #5D55D7

Accessibility & contrast

On white

12.20
#282290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282290
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282290#FFFFFF#000000##FFFFFF
##2822901.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282290;
/* rgb */ color: rgb(40, 34, 144);
/* oklch */ color: oklch(34.7% 0.172 275.1);
Tailwind
colors: {
  custom: {
    50: '#735fb2',
    500: '#282290',
    950: '#000000',
  },
}
SCSS
$custom: #282290;
$custom-light: #735fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#282290",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 243.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34726,
    "c": 0.17171,
    "h": 275.1
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#282290
secondary
#B5BB53
accent
#E543DC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282290

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

Preview Lab → · Contrast checker → · Palette generator →

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