#2E5ABF#2E5ABF

#2E5ABF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.166 H 263.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2E5ABF
RGBrgb(46, 90, 191)
HSLhsl(222, 61%, 46%)
HSVhsv(222, 76%, 75%)
CMYKcmyk(75.9%, 52.9%, 0%, 25.1%)
CIE-LABlab(40.66, 20.98, -57.41)
CIE-LCHlch(40.66, 61.13, 290.08°)
OKLaboklab(49.58% -0.0183 -0.1653)
OKLCHoklch(49.58% 0.166 263.7)
XYZxyz(14.1835, 11.6532, 50.7819)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5ABF #BF932E
analogous
#2EA3BF #2E5ABF #4B2EBF
triadic
#2E5ABF #BF2E5A #5ABF2E
tetradic
#2E5ABF #BF2EA3 #BF932E #2EBF4B
square
#2E5ABF #BF2EA3 #BF932E #2EBF4B
split-complementary
#2E5ABF #BF4B2E #A3BF2E
monochromatic
#162C5C #22438E #2E5ABF #547CD6 #86A2E2

Accessibility & contrast

On white

6.30
#2E5ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2E5ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5ABF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5ABF#FFFFFF#000000##FFFFFF
##2E5ABF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5abf;
/* rgb */ color: rgb(46, 90, 191);
/* oklch */ color: oklch(49.6% 0.166 263.7);
Tailwind
colors: {
  custom: {
    50: '#7c88d3',
    500: '#2e5abf',
    950: '#000000',
  },
}
SCSS
$custom: #2e5abf;
$custom-light: #7c88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5abf",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 221.793,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.16636,
    "h": 263.7
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#2E5ABF
secondary
#CBB47E
accent
#B444E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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