#2B2DA0#2B2DA0

#2B2DA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.180 H 273.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2B2DA0
RGBrgb(43, 45, 160)
HSLhsl(239, 58%, 40%)
HSVhsv(239, 73%, 63%)
CMYKcmyk(73.1%, 71.9%, 0%, 37.3%)
CIE-LABlab(26.53, 38.32, -62.05)
CIE-LCHlch(26.53, 72.93, 301.70°)
OKLaboklab(38.27% 0.01 -0.1795)
OKLCHoklch(38.27% 0.18 273.2)
XYZxyz(8.2777, 4.9276, 33.7658)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DA0 #A09E2B
analogous
#2B68A0 #2B2DA0 #632BA0
triadic
#2B2DA0 #A02B2D #2DA02B
tetradic
#2B2DA0 #A02B68 #A09E2B #2BA063
square
#2B2DA0 #A02B68 #A09E2B #2BA063
split-complementary
#2B2DA0 #A0632B #68A02B
monochromatic
#111240 #1E1F70 #2B2DA0 #3D40CB #6E6FD8

Accessibility & contrast

On white

10.58
#2B2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B2DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DA0
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DA0#FFFFFF#000000##FFFFFF
##2B2DA01.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b2da0;
/* rgb */ color: rgb(43, 45, 160);
/* oklch */ color: oklch(38.3% 0.180 273.2);
Tailwind
colors: {
  custom: {
    50: '#7767bd',
    500: '#2b2da0',
    950: '#000000',
  },
}
SCSS
$custom: #2b2da0;
$custom-light: #7767bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2da0",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 238.974,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38268,
    "c": 0.17975,
    "h": 273.2
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#2B2DA0
secondary
#BFBD68
accent
#DE47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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