#2E4BB3#2E4BB3

#2E4BB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.169 H 267.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2E4BB3
RGBrgb(46, 75, 179)
HSLhsl(227, 59%, 44%)
HSVhsv(227, 74%, 70%)
CMYKcmyk(74.3%, 58.1%, 0%, 29.8%)
CIE-LABlab(35.73, 26.31, -58.38)
CIE-LCHlch(35.73, 64.03, 294.26°)
OKLaboklab(45.58% -0.0078 -0.1684)
OKLCHoklch(45.58% 0.169 267.4)
XYZxyz(11.7766, 8.8664, 43.7298)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BB3 #B3962E
analogous
#2E8EB3 #2E4BB3 #542EB3
triadic
#2E4BB3 #B32E4B #4BB32E
tetradic
#2E4BB3 #B32E8E #B3962E #2EB354
square
#2E4BB3 #B32E8E #B3962E #2EB354
split-complementary
#2E4BB3 #B3542E #8EB32E
monochromatic
#152252 #213782 #2E4BB3 #4D6AD1 #7E93DE

Accessibility & contrast

On white

7.57
#2E4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E4BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BB3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BB3#FFFFFF#000000##FFFFFF
##2E4BB31.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e4bb3;
/* rgb */ color: rgb(46, 75, 179);
/* oklch */ color: oklch(45.6% 0.169 267.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ccb',
    500: '#2e4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bb3;
$custom-light: #7a7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bb3",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 226.917,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45581,
    "c": 0.16861,
    "h": 267.4
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#2E4BB3
secondary
#C6B576
accent
#C046E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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