#2023B1#2023B1

#2023B1 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.213 H 269.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2023B1
RGBrgb(32, 35, 177)
HSLhsl(239, 69%, 41%)
HSVhsv(239, 82%, 69%)
CMYKcmyk(81.9%, 80.2%, 0%, 30.6%)
CIE-LABlab(25.81, 48.77, -73.51)
CIE-LCHlch(25.81, 88.22, 303.56°)
OKLaboklab(38.15% -0.0013 -0.2129)
OKLCHoklch(38.15% 0.213 269.6)
XYZxyz(9.1298, 4.6824, 42.0091)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2023B1 #B1AE20
analogous
#206BB1 #2023B1 #6520B1
triadic
#2023B1 #B12023 #23B120
tetradic
#2023B1 #B1206B #B1AE20 #20B165
square
#2023B1 #B1206B #B1AE20 #20B165
split-complementary
#2023B1 #B16520 #6BB120
monochromatic
#0D0F49 #17197D #2023B1 #3437DA #686AE4

Accessibility & contrast

On white

10.84
#2023B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2023B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2023B1
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2023B1#FFFFFF#000000##FFFFFF
##2023B11.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B5
Deuteranopia (green-blind)
#0035AF
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2023b1;
/* rgb */ color: rgb(32, 35, 177);
/* oklch */ color: oklch(38.1% 0.213 269.6);
Tailwind
colors: {
  custom: {
    50: '#7861ca',
    500: '#2023b1',
    950: '#000000',
  },
}
SCSS
$custom: #2023b1;
$custom-light: #7861ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2023b1",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 238.759,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38145,
    "c": 0.2129,
    "h": 269.6
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#2023B1
secondary
#C9C764
accent
#E93CEC
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2023B1

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

Preview Lab → · Contrast checker → · Palette generator →

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