#2B23B0#2B23B0

#2B23B0 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.209 H 273.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2B23B0
RGBrgb(43, 35, 176)
HSLhsl(243, 67%, 41%)
HSVhsv(243, 80%, 69%)
CMYKcmyk(75.6%, 80.1%, 0%, 31%)
CIE-LABlab(26.30, 49.15, -72.08)
CIE-LCHlch(26.30, 87.24, 304.29°)
OKLaboklab(38.62% 0.0114 -0.2085)
OKLCHoklch(38.62% 0.209 273.1)
XYZxyz(9.4311, 4.8493, 41.5048)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23B0 #A8B023
analogous
#2362B0 #2B23B0 #7223B0
triadic
#2B23B0 #B02B23 #23B02B
tetradic
#2B23B0 #B02362 #A8B023 #23B072
square
#2B23B0 #B02362 #A8B023 #23B072
split-complementary
#2B23B0 #B07223 #62B023
monochromatic
#120F4A #1F197D #2B23B0 #4239D8 #726CE2

Accessibility & contrast

On white

10.66
#2B23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B23B0
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23B0#FFFFFF#000000##FFFFFF
##2B23B01.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b23b0;
/* rgb */ color: rgb(43, 35, 176);
/* oklch */ color: oklch(38.6% 0.209 273.1);
Tailwind
colors: {
  custom: {
    50: '#7b62c9',
    500: '#2b23b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b23b0;
$custom-light: #7b62c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23b0",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 243.404,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.20886,
    "h": 273.1
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#2B23B0
secondary
#C2C867
accent
#EA3EE0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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