#2B2D9A#2B2D9A

#2B2D9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.172 H 273.6°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2B2D9A
RGBrgb(43, 45, 154)
HSLhsl(239, 56%, 39%)
HSVhsv(239, 72%, 60%)
CMYKcmyk(72.1%, 70.8%, 0%, 39.6%)
CIE-LABlab(25.93, 36.23, -59.38)
CIE-LCHlch(25.93, 69.56, 301.39°)
OKLaboklab(37.66% 0.0109 -0.1717)
OKLCHoklch(37.66% 0.172 273.6)
XYZxyz(7.7654, 4.7227, 31.0679)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D9A #9A982B
analogous
#2B649A #2B2D9A #602B9A
triadic
#2B2D9A #9A2B2D #2D9A2B
tetradic
#2B2D9A #9A2B64 #9A982B #2B9A60
square
#2B2D9A #9A2B64 #9A982B #2B9A60
split-complementary
#2B2D9A #9A602B #649A2B
monochromatic
#10113A #1E1F6A #2B2D9A #3A3DC8 #6A6CD5

Accessibility & contrast

On white

10.80
#2B2D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B2D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D9A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D9A#FFFFFF#000000##FFFFFF
##2B2D9A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b2d9a;
/* rgb */ color: rgb(43, 45, 154);
/* oklch */ color: oklch(37.7% 0.172 273.6);
Tailwind
colors: {
  custom: {
    50: '#7567b9',
    500: '#2b2d9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d9a;
$custom-light: #7567b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d9a",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 238.919,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37658,
    "c": 0.17201,
    "h": 273.6
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#2B2D9A
secondary
#BCBA65
accent
#DD48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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