#2B2EAE#2B2EAE

#2B2EAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.196 H 272.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2B2EAE
RGBrgb(43, 46, 174)
HSLhsl(239, 60%, 43%)
HSVhsv(239, 75%, 68%)
CMYKcmyk(75.3%, 73.6%, 0%, 31.8%)
CIE-LABlab(28.17, 42.53, -67.78)
CIE-LCHlch(28.17, 80.02, 302.11°)
OKLaboklab(39.88% 0.0073 -0.1962)
OKLCHoklch(39.88% 0.196 272.1)
XYZxyz(9.6107, 5.5226, 40.5956)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EAE #AEAB2B
analogous
#2B6FAE #2B2EAE #6A2BAE
triadic
#2B2EAE #AE2B2E #2EAE2B
tetradic
#2B2EAE #AE2B6F #AEAB2B #2BAE6A
square
#2B2EAE #AE2B6F #AEAB2B #2BAE6A
split-complementary
#2B2EAE #AE6A2B #6FAE2B
monochromatic
#13144C #1F217D #2B2EAE #4548D1 #7679DD

Accessibility & contrast

On white

9.98
#2B2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EAE
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EAE#FFFFFF#000000##FFFFFF
##2B2EAE1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2eae;
/* rgb */ color: rgb(43, 46, 174);
/* oklch */ color: oklch(39.9% 0.196 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a68c7',
    500: '#2b2eae',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eae;
$custom-light: #7a68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eae",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 238.626,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.19632,
    "h": 272.1
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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