#2B2EA5#2B2EA5

#2B2EA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.185 H 272.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#2B2EA5
RGBrgb(43, 46, 165)
HSLhsl(239, 59%, 41%)
HSVhsv(239, 74%, 65%)
CMYKcmyk(73.9%, 72.1%, 0%, 35.3%)
CIE-LABlab(27.25, 39.45, -63.89)
CIE-LCHlch(27.25, 75.09, 301.69°)
OKLaboklab(38.94% 0.0087 -0.1848)
OKLCHoklch(38.94% 0.185 272.7)
XYZxyz(8.7625, 5.1833, 36.1287)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EA5 #A5A22B
analogous
#2B6BA5 #2B2EA5 #652BA5
triadic
#2B2EA5 #A52B2E #2EA52B
tetradic
#2B2EA5 #A52B6B #A5A22B #2BA565
square
#2B2EA5 #A52B6B #A5A22B #2BA565
split-complementary
#2B2EA5 #A5652B #6BA52B
monochromatic
#121344 #1E2074 #2B2EA5 #4043CD #7173DA

Accessibility & contrast

On white

10.31
#2B2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B2EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EA5
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EA5#FFFFFF#000000##FFFFFF
##2B2EA51.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2ea5;
/* rgb */ color: rgb(43, 46, 165);
/* oklch */ color: oklch(38.9% 0.185 272.7);
Tailwind
colors: {
  custom: {
    50: '#7868c1',
    500: '#2b2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ea5;
$custom-light: #7868c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ea5",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 238.525,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.18505,
    "h": 272.7
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#2B2EA5
secondary
#C1BF6B
accent
#DE46E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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