#2B23A6#2B23A6

#2B23A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.197 H 274.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2B23A6
RGBrgb(43, 35, 166)
HSLhsl(244, 65%, 39%)
HSVhsv(244, 79%, 65%)
CMYKcmyk(74.1%, 78.9%, 0%, 34.9%)
CIE-LABlab(25.16, 45.98, -67.95)
CIE-LCHlch(25.16, 82.04, 304.09°)
OKLaboklab(37.49% 0.0137 -0.1965)
OKLCHoklch(37.49% 0.197 274)
XYZxyz(8.4779, 4.4680, 36.4846)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23A6 #9EA623
analogous
#235DA6 #2B23A6 #6D23A6
triadic
#2B23A6 #A62B23 #23A62B
tetradic
#2B23A6 #A6235D #9EA623 #23A66D
square
#2B23A6 #A6235D #9EA623 #23A66D
split-complementary
#2B23A6 #A66D23 #5DA623
monochromatic
#110E41 #1E1873 #2B23A6 #3C32D4 #6C65DF

Accessibility & contrast

On white

11.09
#2B23A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B23A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B23A6
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23A6#FFFFFF#000000##FFFFFF
##2B23A61.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b23a6;
/* rgb */ color: rgb(43, 35, 166);
/* oklch */ color: oklch(37.5% 0.197 274.0);
Tailwind
colors: {
  custom: {
    50: '#7961c2',
    500: '#2b23a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b23a6;
$custom-light: #7961c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23a6",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 243.664,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.19703,
    "h": 274
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#2B23A6
secondary
#BEC461
accent
#E840DE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B23A6

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

Preview Lab → · Contrast checker → · Palette generator →

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