#2B2EB0#2B2EB0

#2B2EB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.199 H 272.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2B2EB0
RGBrgb(43, 46, 176)
HSLhsl(239, 61%, 43%)
HSVhsv(239, 76%, 69%)
CMYKcmyk(75.6%, 73.9%, 0%, 31%)
CIE-LABlab(28.38, 43.21, -68.64)
CIE-LCHlch(28.38, 81.11, 302.19°)
OKLaboklab(40.09% 0.007 -0.1987)
OKLCHoklch(40.09% 0.199 272)
XYZxyz(9.8071, 5.6011, 41.6301)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EB0 #B0AD2B
analogous
#2B70B0 #2B2EB0 #6B2BB0
triadic
#2B2EB0 #B02B2E #2EB02B
tetradic
#2B2EB0 #B02B70 #B0AD2B #2BB06B
square
#2B2EB0 #B02B70 #B0AD2B #2BB06B
split-complementary
#2B2EB0 #B06B2B #70B02B
monochromatic
#13144E #1F217F #2B2EB0 #4649D2 #787ADE

Accessibility & contrast

On white

9.90
#2B2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EB0
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EB0#FFFFFF#000000##FFFFFF
##2B2EB01.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2eb0;
/* rgb */ color: rgb(43, 46, 176);
/* oklch */ color: oklch(40.1% 0.199 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a68c9',
    500: '#2b2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eb0;
$custom-light: #7a68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eb0",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 238.647,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.19879,
    "h": 272
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#2B2EB0
secondary
#C6C471
accent
#E044E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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