#2B3AA8#2B3AA8

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

Color values

HEX#2B3AA8
RGBrgb(43, 58, 168)
HSLhsl(233, 59%, 41%)
HSVhsv(233, 74%, 66%)
CMYKcmyk(74.4%, 65.5%, 0%, 34.1%)
CIE-LABlab(30.32, 33.00, -60.66)
CIE-LCHlch(30.32, 69.06, 298.55°)
OKLaboklab(41.25% 0.0013 -0.1754)
OKLCHoklch(41.25% 0.175 270.4)
XYZxyz(9.5748, 6.3659, 37.7623)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AA8 #A8992B
analogous
#2B79A8 #2B3AA8 #5B2BA8
triadic
#2B3AA8 #A82B3A #3AA82B
tetradic
#2B3AA8 #A82B79 #A8992B #2BA85B
square
#2B3AA8 #A82B79 #A8992B #2BA85B
split-complementary
#2B3AA8 #A85B2B #79A82B
monochromatic
#121847 #1F2977 #2B3AA8 #4253CF #727FDB

Accessibility & contrast

On white

9.24
#2B3AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B3AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AA8
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AA8#FFFFFF#000000##FFFFFF
##2B3AA81.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3aa8;
/* rgb */ color: rgb(43, 58, 168);
/* oklch */ color: oklch(41.2% 0.175 270.4);
Tailwind
colors: {
  custom: {
    50: '#7770c3',
    500: '#2b3aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aa8;
$custom-light: #7770c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aa8",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 232.8,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.17538,
    "h": 270.4
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#2B3AA8
secondary
#C2B86C
accent
#D045E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B3AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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