#2E5CAB#2E5CAB

#2E5CAB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.5% C 0.136 H 260.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2E5CAB
RGBrgb(46, 92, 171)
HSLhsl(218, 58%, 43%)
HSVhsv(218, 73%, 67%)
CMYKcmyk(73.1%, 46.2%, 0%, 32.9%)
CIE-LABlab(39.87, 12.09, -46.94)
CIE-LCHlch(39.87, 48.47, 284.44°)
OKLaboklab(48.55% -0.0226 -0.1345)
OKLCHoklch(48.55% 0.136 260.4)
XYZxyz(12.3019, 11.1741, 40.0287)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CAB #AB7D2E
analogous
#2E9BAB #2E5CAB #3E2EAB
triadic
#2E5CAB #AB2E5C #5CAB2E
tetradic
#2E5CAB #AB2E9B #AB7D2E #2EAB3E
square
#2E5CAB #AB2E9B #AB7D2E #2EAB3E
split-complementary
#2E5CAB #AB3E2E #9BAB2E
monochromatic
#14284B #21427B #2E5CAB #4879CE #799DDB

Accessibility & contrast

On white

6.49
#2E5CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2E5CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CAB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CAB#FFFFFF#000000##FFFFFF
##2E5CAB1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#1859A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5cab;
/* rgb */ color: rgb(46, 92, 171);
/* oklch */ color: oklch(48.5% 0.136 260.4);
Tailwind
colors: {
  custom: {
    50: '#7789c4',
    500: '#2e5cab',
    950: '#000000',
  },
}
SCSS
$custom: #2e5cab;
$custom-light: #7789c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5cab",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 217.92,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4855,
    "c": 0.1364,
    "h": 260.4
  },
  "luminance": 0.11175
}

Semantic roles & 50–950 ramp

primary
#2E5CAB
secondary
#C3A572
accent
#A847E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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