#2B3AB3#2B3AB3

#2B3AB3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.190 H 270.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2B3AB3
RGBrgb(43, 58, 179)
HSLhsl(233, 61%, 44%)
HSVhsv(233, 76%, 70%)
CMYKcmyk(76%, 67.6%, 0%, 29.8%)
CIE-LABlab(31.33, 36.98, -65.57)
CIE-LCHlch(31.33, 75.28, 299.42°)
OKLaboklab(42.3% 0.0005 -0.1897)
OKLCHoklch(42.3% 0.19 270.2)
XYZxyz(10.6432, 6.7932, 43.3894)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AB3 #B3A42B
analogous
#2B7EB3 #2B3AB3 #602BB3
triadic
#2B3AB3 #B32B3A #3AB32B
tetradic
#2B3AB3 #B32B7E #B3A42B #2BB360
square
#2B3AB3 #B32B7E #B3A42B #2BB360
split-complementary
#2B3AB3 #B3602B #7EB32B
monochromatic
#131A50 #1F2A82 #2B3AB3 #4857D3 #7985DF

Accessibility & contrast

On white

8.90
#2B3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B3AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AB3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AB3#FFFFFF#000000##FFFFFF
##2B3AB31.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3ab3;
/* rgb */ color: rgb(43, 58, 179);
/* oklch */ color: oklch(42.3% 0.190 270.2);
Tailwind
colors: {
  custom: {
    50: '#7a70cb',
    500: '#2b3ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ab3;
$custom-light: #7a70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ab3",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 233.382,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42297,
    "c": 0.18974,
    "h": 270.2
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#2B3AB3
secondary
#C7BE73
accent
#D343E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B3AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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