#2E3BB5#2E3BB5

#2E3BB5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.190 H 270.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2E3BB5
RGBrgb(46, 59, 181)
HSLhsl(234, 59%, 45%)
HSVhsv(234, 75%, 71%)
CMYKcmyk(74.6%, 67.4%, 0%, 29%)
CIE-LABlab(31.91, 37.38, -65.81)
CIE-LCHlch(31.91, 75.68, 299.60°)
OKLaboklab(42.81% 0.0028 -0.1904)
OKLCHoklch(42.81% 0.19 270.8)
XYZxyz(11.0283, 7.0438, 44.4855)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BB5 #B5A82E
analogous
#2E7FB5 #2E3BB5 #652EB5
triadic
#2E3BB5 #B52E3B #3BB52E
tetradic
#2E3BB5 #B52E7F #B5A82E #2EB565
square
#2E3BB5 #B52E7F #B5A82E #2EB565
split-complementary
#2E3BB5 #B5652E #7FB52E
monochromatic
#151B53 #222B84 #2E3BB5 #4E5BD2 #7F88DE

Accessibility & contrast

On white

8.72
#2E3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E3BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3BB5
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BB5#FFFFFF#000000##FFFFFF
##2E3BB51.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3bb5;
/* rgb */ color: rgb(46, 59, 181);
/* oklch */ color: oklch(42.8% 0.190 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c71cc',
    500: '#2e3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e3bb5;
$custom-light: #7c71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3bb5",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 234.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.19038,
    "h": 270.8
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#2E3BB5
secondary
#C7C078
accent
#D345E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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