#2B3EA3#2B3EA3

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

Color values

HEX#2B3EA3
RGBrgb(43, 62, 163)
HSLhsl(231, 58%, 40%)
HSVhsv(231, 74%, 64%)
CMYKcmyk(73.6%, 62%, 0%, 36.1%)
CIE-LABlab(30.88, 28.54, -56.72)
CIE-LCHlch(30.88, 63.50, 296.71°)
OKLaboklab(41.53% -0.0012 -0.1638)
OKLCHoklch(41.53% 0.164 269.6)
XYZxyz(9.3275, 6.6022, 35.4260)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EA3 #A3902B
analogous
#2B7AA3 #2B3EA3 #542BA3
triadic
#2B3EA3 #A32B3E #3EA32B
tetradic
#2B3EA3 #A32B7A #A3902B #2BA354
square
#2B3EA3 #A32B7A #A3902B #2BA354
split-complementary
#2B3EA3 #A3542B #7AA32B
monochromatic
#111942 #1E2C73 #2B3EA3 #3F55CC #6F80D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3EA3#FFFFFF#000000##FFFFFF
##2B3EA31.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)
#004EA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3ea3;
/* rgb */ color: rgb(43, 62, 163);
/* oklch */ color: oklch(41.5% 0.164 269.6);
Tailwind
colors: {
  custom: {
    50: '#7673bf',
    500: '#2b3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ea3;
$custom-light: #7673bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ea3",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 230.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41529,
    "c": 0.1638,
    "h": 269.6
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#2B3EA3
secondary
#C0B26A
accent
#C946E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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