#2B3EA4#2B3EA4

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

Color values

HEX#2B3EA4
RGBrgb(43, 62, 164)
HSLhsl(231, 58%, 41%)
HSVhsv(231, 74%, 64%)
CMYKcmyk(73.8%, 62.2%, 0%, 35.7%)
CIE-LABlab(30.97, 28.92, -57.19)
CIE-LCHlch(30.97, 64.08, 296.82°)
OKLaboklab(41.62% -0.0012 -0.1652)
OKLCHoklch(41.62% 0.165 269.6)
XYZxyz(9.4174, 6.6382, 35.8997)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EA4 #A4912B
analogous
#2B7AA4 #2B3EA4 #552BA4
triadic
#2B3EA4 #A42B3E #3EA42B
tetradic
#2B3EA4 #A42B7A #A4912B #2BA455
square
#2B3EA4 #A42B7A #A4912B #2BA455
split-complementary
#2B3EA4 #A4552B #7AA42B
monochromatic
#121943 #1E2C74 #2B3EA4 #3F56CD #7080D9

Accessibility & contrast

On white

9.02
#2B3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B3EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EA4
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EA4#FFFFFF#000000##FFFFFF
##2B3EA41.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3ea4;
/* rgb */ color: rgb(43, 62, 164);
/* oklch */ color: oklch(41.6% 0.165 269.6);
Tailwind
colors: {
  custom: {
    50: '#7673c0',
    500: '#2b3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ea4;
$custom-light: #7673c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ea4",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 230.579,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.16516,
    "h": 269.6
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#2B3EA4
secondary
#C1B36A
accent
#C946E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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