#2B23D4#2B23D4

#2B23D4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.8% C 0.249 H 270.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2B23D4
RGBrgb(43, 35, 212)
HSLhsl(243, 72%, 48%)
HSVhsv(243, 83%, 83%)
CMYKcmyk(79.7%, 83.5%, 0%, 16.9%)
CIE-LABlab(30.56, 60.03, -86.21)
CIE-LCHlch(30.56, 105.05, 304.85°)
OKLaboklab(42.79% 0.0029 -0.2495)
OKLCHoklch(42.79% 0.249 270.7)
XYZxyz(13.4769, 6.4676, 62.8127)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23D4 #CCD423
analogous
#2373D4 #2B23D4 #8323D4
triadic
#2B23D4 #D42B23 #23D42B
tetradic
#2B23D4 #D42373 #CCD423 #23D483
square
#2B23D4 #D42373 #CCD423 #23D483
split-complementary
#2B23D4 #D48323 #73D423
monochromatic
#16126B #201A9F #2B23D4 #5852E2 #8B86EB

Accessibility & contrast

On white

9.16
#2B23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B23D4
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23D4#FFFFFF#000000##FFFFFF
##2B23D41.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D9
Deuteranopia (green-blind)
#003FD1
Tritanopia (blue-blind)
#005E7F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b23d4;
/* rgb */ color: rgb(43, 35, 212);
/* oklch */ color: oklch(42.8% 0.249 270.7);
Tailwind
colors: {
  custom: {
    50: '#8464e3',
    500: '#2b23d4',
    950: '#000000',
  },
}
SCSS
$custom: #2b23d4;
$custom-light: #8464e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23d4",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 242.712,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.24948,
    "h": 270.7
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#2B23D4
secondary
#D0D47E
accent
#EE39E6
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2B23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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