#2E5699#2E5699

#2E5699 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.0% C 0.118 H 260.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2E5699
RGBrgb(46, 86, 153)
HSLhsl(218, 54%, 39%)
HSVhsv(218, 70%, 60%)
CMYKcmyk(69.9%, 43.8%, 0%, 40%)
CIE-LABlab(37.00, 9.20, -40.81)
CIE-LCHlch(37.00, 41.83, 282.70°)
OKLaboklab(45.97% -0.0203 -0.1166)
OKLCHoklch(45.97% 0.118 260.1)
XYZxyz(10.2022, 9.5353, 31.4336)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5699 #99712E
analogous
#2E8C99 #2E5699 #3C2E99
triadic
#2E5699 #992E56 #56992E
tetradic
#2E5699 #992E8C #99712E #2E993C
square
#2E5699 #992E8C #99712E #2E993C
split-complementary
#2E5699 #993C2E #8C992E
monochromatic
#12213B #203C6A #2E5699 #3F71C5 #6E94D3

Accessibility & contrast

On white

7.22
#2E5699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E5699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5699
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5699#FFFFFF#000000##FFFFFF
##2E56991.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9C
Deuteranopia (green-blind)
#245298
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e5699;
/* rgb */ color: rgb(46, 86, 153);
/* oklch */ color: oklch(46.0% 0.118 260.1);
Tailwind
colors: {
  custom: {
    50: '#7485b7',
    500: '#2e5699',
    950: '#000000',
  },
}
SCSS
$custom: #2e5699;
$custom-light: #7485b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5699",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 217.57,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.11835,
    "h": 260.1
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#2E5699
secondary
#BB9C68
accent
#A64BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5699

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

Preview Lab → · Contrast checker → · Palette generator →

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