#2E5ABB#2E5ABB

#2E5ABB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.161 H 263.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2E5ABB
RGBrgb(46, 90, 187)
HSLhsl(221, 61%, 46%)
HSVhsv(221, 75%, 73%)
CMYKcmyk(75.4%, 51.9%, 0%, 26.7%)
CIE-LABlab(40.38, 19.47, -55.54)
CIE-LCHlch(40.38, 58.85, 289.32°)
OKLaboklab(49.28% -0.0187 -0.1598)
OKLCHoklch(49.28% 0.161 263.3)
XYZxyz(13.7493, 11.4795, 48.4952)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5ABB #BB8F2E
analogous
#2EA0BB #2E5ABB #492EBB
triadic
#2E5ABB #BB2E5A #5ABB2E
tetradic
#2E5ABB #BB2EA0 #BB8F2E #2EBB49
square
#2E5ABB #BB2EA0 #BB8F2E #2EBB49
split-complementary
#2E5ABB #BB492E #A0BB2E
monochromatic
#162B59 #22428A #2E5ABB #527BD4 #83A0E0

Accessibility & contrast

On white

6.37
#2E5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2E5ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5ABB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5ABB#FFFFFF#000000##FFFFFF
##2E5ABB1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5abb;
/* rgb */ color: rgb(46, 90, 187);
/* oklch */ color: oklch(49.3% 0.161 263.3);
Tailwind
colors: {
  custom: {
    50: '#7b88d0',
    500: '#2e5abb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5abb;
$custom-light: #7b88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5abb",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 221.277,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.16092,
    "h": 263.3
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#2E5ABB
secondary
#CAB17B
accent
#B244E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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