#2823D4#2823D4

#2823D4 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.6% C 0.250 H 269.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2823D4
RGBrgb(40, 35, 212)
HSLhsl(242, 72%, 48%)
HSVhsv(242, 83%, 83%)
CMYKcmyk(81.1%, 83.5%, 0%, 16.9%)
CIE-LABlab(30.41, 59.89, -86.47)
CIE-LCHlch(30.41, 105.18, 304.71°)
OKLaboklab(42.65% -0.0003 -0.2502)
OKLCHoklch(42.65% 0.25 269.9)
XYZxyz(13.3557, 6.4051, 62.8070)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823D4 #CFD423
analogous
#2376D4 #2823D4 #8023D4
triadic
#2823D4 #D42823 #23D428
tetradic
#2823D4 #D42376 #CFD423 #23D480
square
#2823D4 #D42376 #CFD423 #23D480
split-complementary
#2823D4 #D48023 #76D423
monochromatic
#14126B #1E1A9F #2823D4 #5652E2 #8986EB

Accessibility & contrast

On white

9.20
#2823D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2823D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823D4
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823D4#FFFFFF#000000##FFFFFF
##2823D41.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050D9
Deuteranopia (green-blind)
#003ED1
Tritanopia (blue-blind)
#005E7F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2823d4;
/* rgb */ color: rgb(40, 35, 212);
/* oklch */ color: oklch(42.6% 0.250 269.9);
Tailwind
colors: {
  custom: {
    50: '#8364e3',
    500: '#2823d4',
    950: '#000000',
  },
}
SCSS
$custom: #2823d4;
$custom-light: #8364e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2823d4",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 241.695,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42649,
    "c": 0.25024,
    "h": 269.9
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#2823D4
secondary
#D2D47E
accent
#EE39E9
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2823D4

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

Preview Lab → · Contrast checker → · Palette generator →

#2823D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva