#2B3AB1#2B3AB1

#2B3AB1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.187 H 270.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2B3AB1
RGBrgb(43, 58, 177)
HSLhsl(233, 61%, 43%)
HSVhsv(233, 76%, 69%)
CMYKcmyk(75.7%, 67.2%, 0%, 30.6%)
CIE-LABlab(31.14, 36.27, -64.69)
CIE-LCHlch(31.14, 74.16, 299.28°)
OKLaboklab(42.1% 0.0007 -0.1872)
OKLCHoklch(42.1% 0.187 270.2)
XYZxyz(10.4424, 6.7129, 42.3318)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AB1 #B1A22B
analogous
#2B7DB1 #2B3AB1 #5F2BB1
triadic
#2B3AB1 #B12B3A #3AB12B
tetradic
#2B3AB1 #B12B7D #B1A22B #2BB15F
square
#2B3AB1 #B12B7D #B1A22B #2BB15F
split-complementary
#2B3AB1 #B15F2B #7DB12B
monochromatic
#131A4F #1F2A80 #2B3AB1 #4757D2 #7884DE

Accessibility & contrast

On white

8.96
#2B3AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B3AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AB1
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AB1#FFFFFF#000000##FFFFFF
##2B3AB11.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3ab1;
/* rgb */ color: rgb(43, 58, 177);
/* oklch */ color: oklch(42.1% 0.187 270.2);
Tailwind
colors: {
  custom: {
    50: '#7a70c9',
    500: '#2b3ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ab1;
$custom-light: #7a70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ab1",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 233.284,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42104,
    "c": 0.18716,
    "h": 270.2
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#2B3AB1
secondary
#C6BD72
accent
#D244E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B3AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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