#2B2DA3#2B2DA3

#2B2DA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.184 H 273.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2B2DA3
RGBrgb(43, 45, 163)
HSLhsl(239, 58%, 40%)
HSVhsv(239, 74%, 64%)
CMYKcmyk(73.6%, 72.4%, 0%, 36.1%)
CIE-LABlab(26.83, 39.36, -63.37)
CIE-LCHlch(26.83, 74.60, 301.84°)
OKLaboklab(38.58% 0.0096 -0.1833)
OKLCHoklch(38.58% 0.184 273)
XYZxyz(8.5433, 5.0338, 35.1646)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DA3 #A3A12B
analogous
#2B69A3 #2B2DA3 #652BA3
triadic
#2B2DA3 #A32B2D #2DA32B
tetradic
#2B2DA3 #A32B69 #A3A12B #2BA365
square
#2B2DA3 #A32B69 #A3A12B #2BA365
split-complementary
#2B2DA3 #A3652B #69A32B
monochromatic
#111242 #1E2073 #2B2DA3 #3F41CC #6F71D9

Accessibility & contrast

On white

10.46
#2B2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B2DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DA3
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DA3#FFFFFF#000000##FFFFFF
##2B2DA31.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b2da3;
/* rgb */ color: rgb(43, 45, 163);
/* oklch */ color: oklch(38.6% 0.184 273.0);
Tailwind
colors: {
  custom: {
    50: '#7767bf',
    500: '#2b2da3',
    950: '#000000',
  },
}
SCSS
$custom: #2b2da3;
$custom-light: #7767bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2da3",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 239,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38577,
    "c": 0.18357,
    "h": 273
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#2B2DA3
secondary
#C0BF6A
accent
#DF46E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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