#2B3EAA#2B3EAA

#2B3EAA is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.173 H 269.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2B3EAA
RGBrgb(43, 62, 170)
HSLhsl(231, 60%, 42%)
HSVhsv(231, 75%, 67%)
CMYKcmyk(74.7%, 63.5%, 0%, 33.3%)
CIE-LABlab(31.49, 31.14, -59.95)
CIE-LCHlch(31.49, 67.55, 297.45°)
OKLaboklab(42.16% -0.0014 -0.1732)
OKLCHoklch(42.16% 0.173 269.5)
XYZxyz(9.9721, 6.8601, 38.8210)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EAA #AA972B
analogous
#2B7DAA #2B3EAA #582BAA
triadic
#2B3EAA #AA2B3E #3EAA2B
tetradic
#2B3EAA #AA2B7D #AA972B #2BAA58
square
#2B3EAA #AA2B7D #AA972B #2BAA58
split-complementary
#2B3EAA #AA582B #7DAA2B
monochromatic
#121A48 #1F2C79 #2B3EAA #4358CF #7483DC

Accessibility & contrast

On white

8.85
#2B3EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B3EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EAA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EAA#FFFFFF#000000##FFFFFF
##2B3EAA1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3eaa;
/* rgb */ color: rgb(43, 62, 170);
/* oklch */ color: oklch(42.2% 0.173 269.5);
Tailwind
colors: {
  custom: {
    50: '#7873c4',
    500: '#2b3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eaa;
$custom-light: #7873c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eaa",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 231.024,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.17326,
    "h": 269.5
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#2B3EAA
secondary
#C3B66E
accent
#CB45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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