#2B3EA5#2B3EA5

#2B3EA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.167 H 269.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2B3EA5
RGBrgb(43, 62, 165)
HSLhsl(231, 59%, 41%)
HSVhsv(231, 74%, 65%)
CMYKcmyk(73.9%, 62.4%, 0%, 35.3%)
CIE-LABlab(31.05, 29.29, -57.65)
CIE-LCHlch(31.05, 64.66, 296.93°)
OKLaboklab(41.71% -0.0013 -0.1665)
OKLCHoklch(41.71% 0.167 269.6)
XYZxyz(9.5081, 6.6745, 36.3772)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EA5 #A5922B
analogous
#2B7BA5 #2B3EA5 #552BA5
triadic
#2B3EA5 #A52B3E #3EA52B
tetradic
#2B3EA5 #A52B7B #A5922B #2BA555
square
#2B3EA5 #A52B7B #A5922B #2BA555
split-complementary
#2B3EA5 #A5552B #7BA52B
monochromatic
#121A44 #1E2C74 #2B3EA5 #4056CD #7181DA

Accessibility & contrast

On white

8.99
#2B3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B3EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EA5
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EA5#FFFFFF#000000##FFFFFF
##2B3EA51.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3ea5;
/* rgb */ color: rgb(43, 62, 165);
/* oklch */ color: oklch(41.7% 0.167 269.6);
Tailwind
colors: {
  custom: {
    50: '#7673c1',
    500: '#2b3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ea5;
$custom-light: #7673c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ea5",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 230.656,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.16652,
    "h": 269.6
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#2B3EA5
secondary
#C1B46B
accent
#CA46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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