#2B3AA3#2B3AA3

#2B3AA3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.169 H 270.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2B3AA3
RGBrgb(43, 58, 163)
HSLhsl(233, 58%, 40%)
HSVhsv(233, 74%, 64%)
CMYKcmyk(73.6%, 64.4%, 0%, 36.1%)
CIE-LABlab(29.87, 31.17, -58.38)
CIE-LCHlch(29.87, 66.18, 298.10°)
OKLaboklab(40.78% 0.0016 -0.1687)
OKLCHoklch(40.78% 0.169 270.5)
XYZxyz(9.1179, 6.1831, 35.3562)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AA3 #A3942B
analogous
#2B76A3 #2B3AA3 #582BA3
triadic
#2B3AA3 #A32B3A #3AA32B
tetradic
#2B3AA3 #A32B76 #A3942B #2BA358
square
#2B3AA3 #A32B76 #A3942B #2BA358
split-complementary
#2B3AA3 #A3582B #76A32B
monochromatic
#111842 #1E2973 #2B3AA3 #3F51CC #6F7DD9

Accessibility & contrast

On white

9.39
#2B3AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B3AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AA3
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AA3#FFFFFF#000000##FFFFFF
##2B3AA31.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3aa3;
/* rgb */ color: rgb(43, 58, 163);
/* oklch */ color: oklch(40.8% 0.169 270.5);
Tailwind
colors: {
  custom: {
    50: '#7670bf',
    500: '#2b3aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aa3;
$custom-light: #7670bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aa3",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 232.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40781,
    "c": 0.16871,
    "h": 270.5
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#2B3AA3
secondary
#C0B56A
accent
#CE46E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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