#2823B2#2823B2

#2823B2 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.212 H 272.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2823B2
RGBrgb(40, 35, 178)
HSLhsl(242, 67%, 42%)
HSVhsv(242, 80%, 70%)
CMYKcmyk(77.5%, 80.3%, 0%, 30.2%)
CIE-LABlab(26.35, 49.57, -73.20)
CIE-LCHlch(26.35, 88.41, 304.10°)
OKLaboklab(38.67% 0.0073 -0.2119)
OKLCHoklch(38.67% 0.212 272)
XYZxyz(9.5093, 4.8665, 42.5490)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823B2 #ADB223
analogous
#2366B2 #2823B2 #7023B2
triadic
#2823B2 #B22823 #23B228
tetradic
#2823B2 #B22366 #ADB223 #23B270
square
#2823B2 #B22366 #ADB223 #23B270
split-complementary
#2823B2 #B27023 #66B223
monochromatic
#110F4C #1D197F #2823B2 #3F3AD8 #716DE2

Accessibility & contrast

On white

10.64
#2823B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2823B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823B2
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823B2#FFFFFF#000000##FFFFFF
##2823B21.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#0037B0
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2823b2;
/* rgb */ color: rgb(40, 35, 178);
/* oklch */ color: oklch(38.7% 0.212 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b62ca',
    500: '#2823b2',
    950: '#000000',
  },
}
SCSS
$custom: #2823b2;
$custom-light: #7b62ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2823b2",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 242.098,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.21198,
    "h": 272
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#2823B2
secondary
#C5C968
accent
#EA3EE4
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2823B2

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

Preview Lab → · Contrast checker → · Palette generator →

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