#2B3AAE#2B3AAE

#2B3AAE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.183 H 270.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2B3AAE
RGBrgb(43, 58, 174)
HSLhsl(233, 60%, 43%)
HSVhsv(233, 75%, 68%)
CMYKcmyk(75.3%, 66.7%, 0%, 31.8%)
CIE-LABlab(30.87, 35.18, -63.36)
CIE-LCHlch(30.87, 72.47, 299.05°)
OKLaboklab(41.82% 0.0009 -0.1833)
OKLCHoklch(41.82% 0.183 270.3)
XYZxyz(10.1467, 6.5946, 40.7743)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AAE #AE9F2B
analogous
#2B7BAE #2B3AAE #5E2BAE
triadic
#2B3AAE #AE2B3A #3AAE2B
tetradic
#2B3AAE #AE2B7B #AE9F2B #2BAE5E
square
#2B3AAE #AE2B7B #AE9F2B #2BAE5E
split-complementary
#2B3AAE #AE5E2B #7BAE2B
monochromatic
#13194C #1F2A7D #2B3AAE #4555D1 #7682DD

Accessibility & contrast

On white

9.05
#2B3AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B3AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AAE
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AAE#FFFFFF#000000##FFFFFF
##2B3AAE1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3aae;
/* rgb */ color: rgb(43, 58, 174);
/* oklch */ color: oklch(41.8% 0.183 270.3);
Tailwind
colors: {
  custom: {
    50: '#7970c7',
    500: '#2b3aae',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aae;
$custom-light: #7970c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aae",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 233.13,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.18326,
    "h": 270.3
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#2B3AAE
secondary
#C5BB70
accent
#D144E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B3AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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