#2B3FA1#2B3FA1

#2B3FA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.160 H 269.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2B3FA1
RGBrgb(43, 63, 161)
HSLhsl(230, 58%, 40%)
HSVhsv(230, 73%, 63%)
CMYKcmyk(73.3%, 60.9%, 0%, 36.9%)
CIE-LABlab(30.98, 27.13, -55.37)
CIE-LCHlch(30.98, 61.66, 296.11°)
OKLaboklab(41.55% -0.0019 -0.1598)
OKLCHoklch(41.55% 0.16 269.3)
XYZxyz(9.2046, 6.6409, 34.5080)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FA1 #A18D2B
analogous
#2B7AA1 #2B3FA1 #522BA1
triadic
#2B3FA1 #A12B3F #3FA12B
tetradic
#2B3FA1 #A12B7A #A18D2B #2BA152
square
#2B3FA1 #A12B7A #A18D2B #2BA152
split-complementary
#2B3FA1 #A1522B #7AA12B
monochromatic
#111940 #1E2C71 #2B3FA1 #3E56CB #6E80D8

Accessibility & contrast

On white

9.02
#2B3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B3FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FA1
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FA1#FFFFFF#000000##FFFFFF
##2B3FA11.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3fa1;
/* rgb */ color: rgb(43, 63, 161);
/* oklch */ color: oklch(41.5% 0.160 269.3);
Tailwind
colors: {
  custom: {
    50: '#7573be',
    500: '#2b3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fa1;
$custom-light: #7573be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fa1",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 229.831,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.15982,
    "h": 269.3
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#2B3FA1
secondary
#BFB169
accent
#C747E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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