#2D23B0#2D23B0

#2D23B0 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.208 H 273.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2D23B0
RGBrgb(45, 35, 176)
HSLhsl(244, 67%, 41%)
HSVhsv(244, 80%, 69%)
CMYKcmyk(74.4%, 80.1%, 0%, 31%)
CIE-LABlab(26.43, 49.29, -71.86)
CIE-LCHlch(26.43, 87.15, 304.45°)
OKLaboklab(38.74% 0.0139 -0.2079)
OKLCHoklch(38.74% 0.208 273.8)
XYZxyz(9.5171, 4.8936, 41.5089)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D23B0 #A6B023
analogous
#2360B0 #2D23B0 #7423B0
triadic
#2D23B0 #B02D23 #23B02D
tetradic
#2D23B0 #B02360 #A6B023 #23B074
square
#2D23B0 #B02360 #A6B023 #23B074
split-complementary
#2D23B0 #B07423 #60B023
monochromatic
#130F4A #20197D #2D23B0 #4439D8 #746CE2

Accessibility & contrast

On white

10.61
#2D23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D23B0
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D23B0#FFFFFF#000000##FFFFFF
##2D23B01.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0038AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d23b0;
/* rgb */ color: rgb(45, 35, 176);
/* oklch */ color: oklch(38.7% 0.208 273.8);
Tailwind
colors: {
  custom: {
    50: '#7c62c9',
    500: '#2d23b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d23b0;
$custom-light: #7c62c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d23b0",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 244.255,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38742,
    "c": 0.20834,
    "h": 273.8
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#2D23B0
secondary
#C1C867
accent
#EA3EDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D23B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2D23B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva