#2B23A0#2B23A0

#2B23A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.190 H 274.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2B23A0
RGBrgb(43, 35, 160)
HSLhsl(244, 64%, 38%)
HSVhsv(244, 78%, 63%)
CMYKcmyk(73.1%, 78.1%, 0%, 37.3%)
CIE-LABlab(24.49, 44.05, -65.41)
CIE-LCHlch(24.49, 78.86, 303.96°)
OKLaboklab(36.82% 0.0151 -0.1892)
OKLCHoklch(36.82% 0.19 274.6)
XYZxyz(7.9404, 4.2529, 33.6533)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23A0 #98A023
analogous
#2359A0 #2B23A0 #6923A0
triadic
#2B23A0 #A02B23 #23A02B
tetradic
#2B23A0 #A02359 #98A023 #23A069
square
#2B23A0 #A02359 #98A023 #23A069
split-complementary
#2B23A0 #A06923 #59A023
monochromatic
#100D3C #1E186E #2B23A0 #392FD1 #6961DC

Accessibility & contrast

On white

11.35
#2B23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B23A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B23A0
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23A0#FFFFFF#000000##FFFFFF
##2B23A01.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b23a0;
/* rgb */ color: rgb(43, 35, 160);
/* oklch */ color: oklch(36.8% 0.190 274.6);
Tailwind
colors: {
  custom: {
    50: '#7861bd',
    500: '#2b23a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b23a0;
$custom-light: #7861bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23a0",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 243.84,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36822,
    "c": 0.18979,
    "h": 274.6
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#2B23A0
secondary
#BBC15D
accent
#E741DC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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