#2B3AA0#2B3AA0

#2B3AA0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.165 H 270.6°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2B3AA0
RGBrgb(43, 58, 160)
HSLhsl(232, 58%, 40%)
HSVhsv(232, 73%, 63%)
CMYKcmyk(73.1%, 63.8%, 0%, 37.3%)
CIE-LABlab(29.61, 30.07, -57.00)
CIE-LCHlch(29.61, 64.44, 297.81°)
OKLaboklab(40.51% 0.0017 -0.1646)
OKLCHoklch(40.51% 0.165 270.6)
XYZxyz(8.8523, 6.0769, 33.9573)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AA0 #A0912B
analogous
#2B74A0 #2B3AA0 #572BA0
triadic
#2B3AA0 #A02B3A #3AA02B
tetradic
#2B3AA0 #A02B74 #A0912B #2BA057
square
#2B3AA0 #A02B74 #A0912B #2BA057
split-complementary
#2B3AA0 #A0572B #74A02B
monochromatic
#111740 #1E2970 #2B3AA0 #3D4FCB #6E7BD8

Accessibility & contrast

On white

9.48
#2B3AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B3AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AA0
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AA0#FFFFFF#000000##FFFFFF
##2B3AA01.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3aa0;
/* rgb */ color: rgb(43, 58, 160);
/* oklch */ color: oklch(40.5% 0.165 270.6);
Tailwind
colors: {
  custom: {
    50: '#7670bd',
    500: '#2b3aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aa0;
$custom-light: #7670bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aa0",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 232.308,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.16466,
    "h": 270.6
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#2B3AA0
secondary
#BFB468
accent
#CD47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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