#2B2EA7#2B2EA7

#2B2EA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.188 H 272.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2B2EA7
RGBrgb(43, 46, 167)
HSLhsl(239, 59%, 41%)
HSVhsv(239, 74%, 65%)
CMYKcmyk(74.3%, 72.5%, 0%, 34.5%)
CIE-LABlab(27.45, 40.14, -64.76)
CIE-LCHlch(27.45, 76.19, 301.79°)
OKLaboklab(39.14% 0.0084 -0.1874)
OKLCHoklch(39.14% 0.188 272.6)
XYZxyz(8.9460, 5.2567, 37.0949)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EA7 #A7A42B
analogous
#2B6CA7 #2B2EA7 #662BA7
triadic
#2B2EA7 #A72B2E #2EA72B
tetradic
#2B2EA7 #A72B6C #A7A42B #2BA766
square
#2B2EA7 #A72B6C #A7A42B #2BA766
split-complementary
#2B2EA7 #A7662B #6CA72B
monochromatic
#121346 #1E2176 #2B2EA7 #4145CE #7274DB

Accessibility & contrast

On white

10.24
#2B2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B2EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EA7
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EA7#FFFFFF#000000##FFFFFF
##2B2EA71.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b2ea7;
/* rgb */ color: rgb(43, 46, 167);
/* oklch */ color: oklch(39.1% 0.188 272.6);
Tailwind
colors: {
  custom: {
    50: '#7868c2',
    500: '#2b2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ea7;
$custom-light: #7868c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ea7",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 238.548,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39144,
    "c": 0.18758,
    "h": 272.6
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#2B2EA7
secondary
#C2C06C
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2B2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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