#2B3AAA#2B3AAA

#2B3AAA is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.178 H 270.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2B3AAA
RGBrgb(43, 58, 170)
HSLhsl(233, 60%, 42%)
HSVhsv(233, 75%, 67%)
CMYKcmyk(74.7%, 65.9%, 0%, 33.3%)
CIE-LABlab(30.50, 33.73, -61.56)
CIE-LCHlch(30.50, 70.20, 298.72°)
OKLaboklab(41.44% 0.0012 -0.178)
OKLCHoklch(41.44% 0.178 270.4)
XYZxyz(9.7625, 6.4410, 38.7511)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AAA #AA9B2B
analogous
#2B7AAA #2B3AAA #5B2BAA
triadic
#2B3AAA #AA2B3A #3AAA2B
tetradic
#2B3AAA #AA2B7A #AA9B2B #2BAA5B
square
#2B3AAA #AA2B7A #AA9B2B #2BAA5B
split-complementary
#2B3AAA #AA5B2B #7AAA2B
monochromatic
#121948 #1F2979 #2B3AAA #4353CF #7480DC

Accessibility & contrast

On white

9.18
#2B3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AAA
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AAA#FFFFFF#000000##FFFFFF
##2B3AAA1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3aaa;
/* rgb */ color: rgb(43, 58, 170);
/* oklch */ color: oklch(41.4% 0.178 270.4);
Tailwind
colors: {
  custom: {
    50: '#7870c4',
    500: '#2b3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aaa;
$custom-light: #7870c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aaa",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 232.913,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41436,
    "c": 0.17802,
    "h": 270.4
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#2B3AAA
secondary
#C3B96E
accent
#D045E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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