#2B3AA5#2B3AA5

#2B3AA5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.171 H 270.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2B3AA5
RGBrgb(43, 58, 165)
HSLhsl(233, 59%, 41%)
HSVhsv(233, 74%, 65%)
CMYKcmyk(73.9%, 64.8%, 0%, 35.3%)
CIE-LABlab(30.05, 31.91, -59.30)
CIE-LCHlch(30.05, 67.34, 298.28°)
OKLaboklab(40.97% 0.0015 -0.1714)
OKLCHoklch(40.97% 0.171 270.5)
XYZxyz(9.2985, 6.2553, 36.3074)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AA5 #A5962B
analogous
#2B77A5 #2B3AA5 #592BA5
triadic
#2B3AA5 #A52B3A #3AA52B
tetradic
#2B3AA5 #A52B77 #A5962B #2BA559
square
#2B3AA5 #A52B77 #A5962B #2BA559
split-complementary
#2B3AA5 #A5592B #77A52B
monochromatic
#121844 #1E2974 #2B3AA5 #4051CD #717DDA

Accessibility & contrast

On white

9.33
#2B3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B3AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AA5
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AA5#FFFFFF#000000##FFFFFF
##2B3AA51.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3aa5;
/* rgb */ color: rgb(43, 58, 165);
/* oklch */ color: oklch(41.0% 0.171 270.5);
Tailwind
colors: {
  custom: {
    50: '#7770c1',
    500: '#2b3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aa5;
$custom-light: #7770c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aa5",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 232.623,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40967,
    "c": 0.17139,
    "h": 270.5
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#2B3AA5
secondary
#C1B66B
accent
#CF46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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