#2E5CAC#2E5CAC

#2E5CAC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.138 H 260.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2E5CAC
RGBrgb(46, 92, 172)
HSLhsl(218, 58%, 43%)
HSVhsv(218, 73%, 67%)
CMYKcmyk(73.3%, 46.5%, 0%, 32.5%)
CIE-LABlab(39.94, 12.47, -47.43)
CIE-LCHlch(39.94, 49.04, 284.73°)
OKLaboklab(48.62% -0.0225 -0.1359)
OKLCHoklch(48.62% 0.138 260.6)
XYZxyz(12.3976, 11.2123, 40.5325)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CAC #AC7E2E
analogous
#2E9BAC #2E5CAC #3F2EAC
triadic
#2E5CAC #AC2E5C #5CAC2E
tetradic
#2E5CAC #AC2E9B #AC7E2E #2EAC3F
square
#2E5CAC #AC2E9B #AC7E2E #2EAC3F
split-complementary
#2E5CAC #AC3F2E #9BAC2E
monochromatic
#14284B #21427C #2E5CAC #497ACE #799DDB

Accessibility & contrast

On white

6.48
#2E5CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5CAC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CAC#FFFFFF#000000##FFFFFF
##2E5CAC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AF
Deuteranopia (green-blind)
#1659AA
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5cac;
/* rgb */ color: rgb(46, 92, 172);
/* oklch */ color: oklch(48.6% 0.138 260.6);
Tailwind
colors: {
  custom: {
    50: '#7789c5',
    500: '#2e5cac',
    950: '#000000',
  },
}
SCSS
$custom: #2e5cac;
$custom-light: #7789c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5cac",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 218.095,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48619,
    "c": 0.13778,
    "h": 260.6
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#2E5CAC
secondary
#C3A672
accent
#A947E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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