#2B3DA4#2B3DA4

#2B3DA4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.166 H 269.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2B3DA4
RGBrgb(43, 61, 164)
HSLhsl(231, 58%, 41%)
HSVhsv(231, 74%, 64%)
CMYKcmyk(73.8%, 62.8%, 0%, 35.7%)
CIE-LABlab(30.71, 29.58, -57.61)
CIE-LCHlch(30.71, 64.75, 297.18°)
OKLaboklab(41.43% -0.0005 -0.1664)
OKLCHoklch(41.43% 0.166 269.8)
XYZxyz(9.3635, 6.5304, 35.8818)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DA4 #A4922B
analogous
#2B7AA4 #2B3DA4 #552BA4
triadic
#2B3DA4 #A42B3D #3DA42B
tetradic
#2B3DA4 #A42B7A #A4922B #2BA455
square
#2B3DA4 #A42B7A #A4922B #2BA455
split-complementary
#2B3DA4 #A4552B #7AA42B
monochromatic
#121943 #1E2B74 #2B3DA4 #3F54CD #7080D9

Accessibility & contrast

On white

9.11
#2B3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B3DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DA4
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DA4#FFFFFF#000000##FFFFFF
##2B3DA41.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3da4;
/* rgb */ color: rgb(43, 61, 164);
/* oklch */ color: oklch(41.4% 0.166 269.8);
Tailwind
colors: {
  custom: {
    50: '#7672c0',
    500: '#2b3da4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3da4;
$custom-light: #7672c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3da4",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 231.074,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4143,
    "c": 0.1664,
    "h": 269.8
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#2B3DA4
secondary
#C1B46A
accent
#CB46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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