#2E5EB2#2E5EB2

#2E5EB2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.144 H 260.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2E5EB2
RGBrgb(46, 94, 178)
HSLhsl(218, 59%, 44%)
HSVhsv(218, 74%, 70%)
CMYKcmyk(74.2%, 47.2%, 0%, 30.2%)
CIE-LABlab(40.90, 13.45, -49.43)
CIE-LCHlch(40.90, 51.22, 285.22°)
OKLaboklab(49.48% -0.0232 -0.1418)
OKLCHoklch(49.48% 0.144 260.7)
XYZxyz(13.1624, 11.7992, 43.6946)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EB2 #B2822E
analogous
#2EA0B2 #2E5EB2 #402EB2
triadic
#2E5EB2 #B22E5E #5EB22E
tetradic
#2E5EB2 #B22EA0 #B2822E #2EB240
square
#2E5EB2 #B22EA0 #B2822E #2EB240
split-complementary
#2E5EB2 #B2402E #A0B22E
monochromatic
#152B51 #214481 #2E5EB2 #4C7DD1 #7DA0DD

Accessibility & contrast

On white

6.25
#2E5EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2E5EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EB2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EB2#FFFFFF#000000##FFFFFF
##2E5EB21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#0F5BB0
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5eb2;
/* rgb */ color: rgb(46, 94, 178);
/* oklch */ color: oklch(49.5% 0.144 260.7);
Tailwind
colors: {
  custom: {
    50: '#798bc9',
    500: '#2e5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eb2;
$custom-light: #798bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eb2",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 218.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.14366,
    "h": 260.7
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#2E5EB2
secondary
#C6A976
accent
#A946E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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