#2E4BBE#2E4BBE

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

Color values

HEX#2E4BBE
RGBrgb(46, 75, 190)
HSLhsl(228, 61%, 46%)
HSVhsv(228, 76%, 75%)
CMYKcmyk(75.8%, 60.5%, 0%, 25.5%)
CIE-LABlab(36.61, 30.41, -63.41)
CIE-LCHlch(36.61, 70.32, 295.62°)
OKLaboklab(46.52% -0.0076 -0.1832)
OKLCHoklch(46.52% 0.183 267.6)
XYZxyz(12.9338, 9.3293, 49.8243)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BBE #BEA12E
analogous
#2E93BE #2E4BBE #592EBE
triadic
#2E4BBE #BE2E4B #4BBE2E
tetradic
#2E4BBE #BE2E93 #BEA12E #2EBE59
square
#2E4BBE #BE2E93 #BEA12E #2EBE59
split-complementary
#2E4BBE #BE592E #93BE2E
monochromatic
#16245B #22388D #2E4BBE #546ED6 #8598E1

Accessibility & contrast

On white

7.33
#2E4BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2E4BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BBE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BBE#FFFFFF#000000##FFFFFF
##2E4BBE1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4bbe;
/* rgb */ color: rgb(46, 75, 190);
/* oklch */ color: oklch(46.5% 0.183 267.6);
Tailwind
colors: {
  custom: {
    50: '#7c7dd3',
    500: '#2e4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bbe;
$custom-light: #7c7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bbe",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 227.917,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46517,
    "c": 0.18337,
    "h": 267.6
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#2E4BBE
secondary
#CBBB7D
accent
#C444E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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