#2823AF#2823AF

#2823AF is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.208 H 272.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2823AF
RGBrgb(40, 35, 175)
HSLhsl(242, 67%, 41%)
HSVhsv(242, 80%, 69%)
CMYKcmyk(77.1%, 80%, 0%, 31.4%)
CIE-LABlab(26.00, 48.62, -71.98)
CIE-LCHlch(26.00, 86.87, 304.04°)
OKLaboklab(38.33% 0.008 -0.2083)
OKLCHoklch(38.33% 0.208 272.2)
XYZxyz(9.2114, 4.7473, 40.9800)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2823AF #AAAF23
analogous
#2364AF #2823AF #6E23AF
triadic
#2823AF #AF2823 #23AF28
tetradic
#2823AF #AF2364 #AAAF23 #23AF6E
square
#2823AF #AF2364 #AAAF23 #23AF6E
split-complementary
#2823AF #AF6E23 #64AF23
monochromatic
#110F49 #1C197C #2823AF #3E38D7 #6F6BE1

Accessibility & contrast

On white

10.77
#2823AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2823AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2823AF
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2823AF#FFFFFF#000000##FFFFFF
##2823AF1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2823af;
/* rgb */ color: rgb(40, 35, 175);
/* oklch */ color: oklch(38.3% 0.208 272.2);
Tailwind
colors: {
  custom: {
    50: '#7a61c8',
    500: '#2823af',
    950: '#000000',
  },
}
SCSS
$custom: #2823af;
$custom-light: #7a61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2823af",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 242.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38328,
    "c": 0.20847,
    "h": 272.2
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#2823AF
secondary
#C4C766
accent
#EA3EE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2823AF

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

Preview Lab → · Contrast checker → · Palette generator →

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