#2B3CA4#2B3CA4

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

Color values

HEX#2B3CA4
RGBrgb(43, 60, 164)
HSLhsl(232, 58%, 41%)
HSVhsv(232, 74%, 64%)
CMYKcmyk(73.8%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.46, 30.23, -58.02)
CIE-LCHlch(30.46, 65.42, 297.52°)
OKLaboklab(41.24% 0.0002 -0.1676)
OKLCHoklch(41.24% 0.168 270.1)
XYZxyz(9.3107, 6.4247, 35.8642)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CA4 #A4932B
analogous
#2B78A4 #2B3CA4 #562BA4
triadic
#2B3CA4 #A42B3C #3CA42B
tetradic
#2B3CA4 #A42B78 #A4932B #2BA456
square
#2B3CA4 #A42B78 #A4932B #2BA456
split-complementary
#2B3CA4 #A4562B #78A42B
monochromatic
#121943 #1E2A74 #2B3CA4 #3F53CD #707FD9

Accessibility & contrast

On white

9.19
#2B3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3CA4
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CA4#FFFFFF#000000##FFFFFF
##2B3CA41.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3ca4;
/* rgb */ color: rgb(43, 60, 164);
/* oklch */ color: oklch(41.2% 0.168 270.1);
Tailwind
colors: {
  custom: {
    50: '#7671c0',
    500: '#2b3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ca4;
$custom-light: #7671c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ca4",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 231.57,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.16762,
    "h": 270.1
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#2B3CA4
secondary
#C1B46A
accent
#CC46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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