#2023A8#2023A8

#2023A8 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.202 H 270.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2023A8
RGBrgb(32, 35, 168)
HSLhsl(239, 68%, 39%)
HSVhsv(239, 81%, 66%)
CMYKcmyk(81%, 79.2%, 0%, 34.1%)
CIE-LABlab(24.75, 45.84, -69.86)
CIE-LCHlch(24.75, 83.56, 303.27°)
OKLaboklab(37.1% 0.0004 -0.2023)
OKLCHoklch(37.1% 0.202 270.1)
XYZxyz(8.2622, 4.3353, 37.4395)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2023A8 #A8A520
analogous
#2067A8 #2023A8 #6120A8
triadic
#2023A8 #A82023 #23A820
tetradic
#2023A8 #A82067 #A8A520 #20A861
square
#2023A8 #A82067 #A8A520 #20A861
split-complementary
#2023A8 #A86120 #67A820
monochromatic
#0C0E41 #161875 #2023A8 #2E32D7 #6164E1

Accessibility & contrast

On white

11.25
#2023A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2023A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2023A8
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2023A8#FFFFFF#000000##FFFFFF
##2023A81.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2023a8;
/* rgb */ color: rgb(32, 35, 168);
/* oklch */ color: oklch(37.1% 0.202 270.1);
Tailwind
colors: {
  custom: {
    50: '#7661c3',
    500: '#2023a8',
    950: '#000000',
  },
}
SCSS
$custom: #2023a8;
$custom-light: #7661c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2023a8",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 238.676,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37097,
    "c": 0.20231,
    "h": 270.1
  },
  "luminance": 0.04336
}

Semantic roles & 50–950 ramp

primary
#2023A8
secondary
#C6C45E
accent
#E73DEB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2023A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2023A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva