#2E4DBC#2E4DBC

#2E4DBC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.178 H 267.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2E4DBC
RGBrgb(46, 77, 188)
HSLhsl(227, 61%, 46%)
HSVhsv(227, 76%, 74%)
CMYKcmyk(75.5%, 59%, 0%, 26.3%)
CIE-LABlab(36.96, 28.36, -61.66)
CIE-LCHlch(36.96, 67.87, 294.70°)
OKLaboklab(46.73% -0.0089 -0.1781)
OKLCHoklch(46.73% 0.178 267.1)
XYZxyz(12.8545, 9.5180, 48.7269)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DBC #BC9D2E
analogous
#2E94BC #2E4DBC #562EBC
triadic
#2E4DBC #BC2E4D #4DBC2E
tetradic
#2E4DBC #BC2E94 #BC9D2E #2EBC56
square
#2E4DBC #BC2E94 #BC9D2E #2EBC56
split-complementary
#2E4DBC #BC562E #94BC2E
monochromatic
#16255A #22398B #2E4DBC #526FD5 #8498E1

Accessibility & contrast

On white

7.23
#2E4DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E4DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DBC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DBC#FFFFFF#000000##FFFFFF
##2E4DBC1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e4dbc;
/* rgb */ color: rgb(46, 77, 188);
/* oklch */ color: oklch(46.7% 0.178 267.1);
Tailwind
colors: {
  custom: {
    50: '#7c7ed1',
    500: '#2e4dbc',
    950: '#000000',
  },
}
SCSS
$custom: #2e4dbc;
$custom-light: #7c7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4dbc",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 226.901,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.17827,
    "h": 267.1
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#2E4DBC
secondary
#CAB97C
accent
#C144E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E4DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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