#2B3CA1#2B3CA1

#2B3CA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.164 H 270.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2B3CA1
RGBrgb(43, 60, 161)
HSLhsl(231, 58%, 40%)
HSVhsv(231, 73%, 63%)
CMYKcmyk(73.3%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.20, 29.12, -56.63)
CIE-LCHlch(30.20, 63.68, 297.21°)
OKLaboklab(40.97% 0.0003 -0.1636)
OKLCHoklch(40.97% 0.164 270.1)
XYZxyz(9.0429, 6.3176, 34.4541)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CA1 #A1902B
analogous
#2B77A1 #2B3CA1 #552BA1
triadic
#2B3CA1 #A12B3C #3CA12B
tetradic
#2B3CA1 #A12B77 #A1902B #2BA155
square
#2B3CA1 #A12B77 #A1902B #2BA155
split-complementary
#2B3CA1 #A1552B #77A12B
monochromatic
#111840 #1E2A71 #2B3CA1 #3E52CB #6E7DD8

Accessibility & contrast

On white

9.28
#2B3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B3CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3CA1
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CA1#FFFFFF#000000##FFFFFF
##2B3CA11.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3ca1;
/* rgb */ color: rgb(43, 60, 161);
/* oklch */ color: oklch(41.0% 0.164 270.1);
Tailwind
colors: {
  custom: {
    50: '#7671be',
    500: '#2b3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ca1;
$custom-light: #7671be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ca1",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 231.356,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.40971,
    "c": 0.16356,
    "h": 270.1
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#2B3CA1
secondary
#BFB369
accent
#CB47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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