#2E4BBD#2E4BBD

#2E4BBD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.182 H 267.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4BBD
RGBrgb(46, 75, 189)
HSLhsl(228, 61%, 46%)
HSVhsv(228, 76%, 74%)
CMYKcmyk(75.7%, 60.3%, 0%, 25.9%)
CIE-LABlab(36.53, 30.04, -62.96)
CIE-LCHlch(36.53, 69.76, 295.51°)
OKLaboklab(46.43% -0.0076 -0.1819)
OKLCHoklch(46.43% 0.182 267.6)
XYZxyz(12.8249, 9.2857, 49.2507)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BBD #BDA02E
analogous
#2E92BD #2E4BBD #582EBD
triadic
#2E4BBD #BD2E4B #4BBD2E
tetradic
#2E4BBD #BD2E92 #BDA02E #2EBD58
square
#2E4BBD #BD2E92 #BDA02E #2EBD58
split-complementary
#2E4BBD #BD582E #92BD2E
monochromatic
#16245B #22378C #2E4BBD #536DD5 #8497E1

Accessibility & contrast

On white

7.35
#2E4BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2E4BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BBD
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BBD#FFFFFF#000000##FFFFFF
##2E4BBD1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4bbd;
/* rgb */ color: rgb(46, 75, 189);
/* oklch */ color: oklch(46.4% 0.182 267.6);
Tailwind
colors: {
  custom: {
    50: '#7c7dd2',
    500: '#2e4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bbd;
$custom-light: #7c7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bbd",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 227.832,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4643,
    "c": 0.18204,
    "h": 267.6
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#2E4BBD
secondary
#CABB7C
accent
#C344E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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