#2E4BBC#2E4BBC

#2E4BBC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.181 H 267.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2E4BBC
RGBrgb(46, 75, 188)
HSLhsl(228, 61%, 46%)
HSVhsv(228, 76%, 74%)
CMYKcmyk(75.5%, 60.1%, 0%, 26.3%)
CIE-LABlab(36.45, 29.67, -62.51)
CIE-LCHlch(36.45, 69.19, 295.39°)
OKLaboklab(46.34% -0.0076 -0.1805)
OKLCHoklch(46.34% 0.181 267.6)
XYZxyz(12.7167, 9.2424, 48.6810)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BBC #BC9F2E
analogous
#2E92BC #2E4BBC #582EBC
triadic
#2E4BBC #BC2E4B #4BBC2E
tetradic
#2E4BBC #BC2E92 #BC9F2E #2EBC58
square
#2E4BBC #BC2E92 #BC9F2E #2EBC58
split-complementary
#2E4BBC #BC582E #92BC2E
monochromatic
#16245A #22378B #2E4BBC #526DD5 #8497E1

Accessibility & contrast

On white

7.37
#2E4BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2E4BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BBC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BBC#FFFFFF#000000##FFFFFF
##2E4BBC1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4bbc;
/* rgb */ color: rgb(46, 75, 188);
/* oklch */ color: oklch(46.3% 0.181 267.6);
Tailwind
colors: {
  custom: {
    50: '#7c7dd1',
    500: '#2e4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bbc;
$custom-light: #7c7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bbc",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 227.746,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.18071,
    "h": 267.6
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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