#2B3AAB#2B3AAB

#2B3AAB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.179 H 270.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2B3AAB
RGBrgb(43, 58, 171)
HSLhsl(233, 60%, 42%)
HSVhsv(233, 75%, 67%)
CMYKcmyk(74.9%, 66.1%, 0%, 32.9%)
CIE-LABlab(30.59, 34.10, -62.01)
CIE-LCHlch(30.59, 70.77, 298.80°)
OKLaboklab(41.53% 0.0011 -0.1793)
OKLCHoklch(41.53% 0.179 270.4)
XYZxyz(9.8575, 6.4789, 39.2512)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AAB #AB9C2B
analogous
#2B7AAB #2B3AAB #5C2BAB
triadic
#2B3AAB #AB2B3A #3AAB2B
tetradic
#2B3AAB #AB2B7A #AB9C2B #2BAB5C
square
#2B3AAB #AB2B7A #AB9C2B #2BAB5C
split-complementary
#2B3AAB #AB5C2B #7AAB2B
monochromatic
#121949 #1F297A #2B3AAB #4354D0 #7480DC

Accessibility & contrast

On white

9.15
#2B3AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B3AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AAB
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AAB#FFFFFF#000000##FFFFFF
##2B3AAB1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3aab;
/* rgb */ color: rgb(43, 58, 171);
/* oklch */ color: oklch(41.5% 0.179 270.4);
Tailwind
colors: {
  custom: {
    50: '#7870c5',
    500: '#2b3aab',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aab;
$custom-light: #7870c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aab",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 232.969,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4153,
    "c": 0.17933,
    "h": 270.4
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#2B3AAB
secondary
#C4BA6E
accent
#D045E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B3AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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