#2E66B5#2E66B5

#2E66B5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.138 H 257.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2E66B5
RGBrgb(46, 102, 181)
HSLhsl(215, 59%, 45%)
HSVhsv(215, 75%, 71%)
CMYKcmyk(74.6%, 43.6%, 0%, 29%)
CIE-LABlab(43.39, 9.43, -47.19)
CIE-LCHlch(43.39, 48.12, 281.30°)
OKLaboklab(51.46% -0.0297 -0.135)
OKLCHoklch(51.46% 0.138 257.6)
XYZxyz(14.2155, 13.4182, 45.5479)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E66B5 #B57D2E
analogous
#2EAAB5 #2E66B5 #3A2EB5
triadic
#2E66B5 #B52E66 #66B52E
tetradic
#2E66B5 #B52EAA #B57D2E #2EB53A
square
#2E66B5 #B52EAA #B57D2E #2EB53A
split-complementary
#2E66B5 #B53A2E #AAB52E
monochromatic
#152F53 #224B84 #2E66B5 #4E85D2 #7FA7DE

Accessibility & contrast

On white

5.70
#2E66B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2E66B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E66B5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E66B5#FFFFFF#000000##FFFFFF
##2E66B51.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#2661B3
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e66b5;
/* rgb */ color: rgb(46, 102, 181);
/* oklch */ color: oklch(51.5% 0.138 257.6);
Tailwind
colors: {
  custom: {
    50: '#7991cc',
    500: '#2e66b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e66b5;
$custom-light: #7991cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e66b5",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 215.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.13828,
    "h": 257.6
  },
  "luminance": 0.1342
}

Semantic roles & 50–950 ramp

primary
#2E66B5
secondary
#C7A678
accent
#A145E3
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E66B5

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

Preview Lab → · Contrast checker → · Palette generator →

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