#2B3BA0#2B3BA0

#2B3BA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.163 H 270.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2B3BA0
RGBrgb(43, 59, 160)
HSLhsl(232, 58%, 40%)
HSVhsv(232, 73%, 63%)
CMYKcmyk(73.1%, 63.1%, 0%, 37.3%)
CIE-LABlab(29.86, 29.41, -56.59)
CIE-LCHlch(29.86, 63.77, 297.46°)
OKLaboklab(40.69% 0.001 -0.1634)
OKLCHoklch(40.69% 0.163 270.4)
XYZxyz(8.9032, 6.1787, 33.9743)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BA0 #A0902B
analogous
#2B75A0 #2B3BA0 #562BA0
triadic
#2B3BA0 #A02B3B #3BA02B
tetradic
#2B3BA0 #A02B75 #A0902B #2BA056
square
#2B3BA0 #A02B75 #A0902B #2BA056
split-complementary
#2B3BA0 #A0562B #75A02B
monochromatic
#111740 #1E2970 #2B3BA0 #3D51CB #6E7CD8

Accessibility & contrast

On white

9.39
#2B3BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B3BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BA0
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BA0#FFFFFF#000000##FFFFFF
##2B3BA01.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3ba0;
/* rgb */ color: rgb(43, 59, 160);
/* oklch */ color: oklch(40.7% 0.163 270.4);
Tailwind
colors: {
  custom: {
    50: '#7571bd',
    500: '#2b3ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ba0;
$custom-light: #7571bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ba0",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 231.795,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40692,
    "c": 0.16343,
    "h": 270.4
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#2B3BA0
secondary
#BFB368
accent
#CC47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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