#2E5EAF#2E5EAF

#2E5EAF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.140 H 260.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2E5EAF
RGBrgb(46, 94, 175)
HSLhsl(218, 58%, 43%)
HSVhsv(218, 74%, 69%)
CMYKcmyk(73.7%, 46.3%, 0%, 31.4%)
CIE-LABlab(40.70, 12.31, -47.97)
CIE-LCHlch(40.70, 49.52, 284.39°)
OKLaboklab(49.27% -0.0237 -0.1375)
OKLCHoklch(49.27% 0.14 260.2)
XYZxyz(12.8645, 11.6800, 42.1256)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EAF #AF7F2E
analogous
#2E9EAF #2E5EAF #3E2EAF
triadic
#2E5EAF #AF2E5E #5EAF2E
tetradic
#2E5EAF #AF2E9E #AF7F2E #2EAF3E
square
#2E5EAF #AF2E9E #AF7F2E #2EAF3E
split-complementary
#2E5EAF #AF3E2E #9EAF2E
monochromatic
#152A4E #21447F #2E5EAF #4B7CD0 #7B9FDC

Accessibility & contrast

On white

6.29
#2E5EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2E5EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EAF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EAF#FFFFFF#000000##FFFFFF
##2E5EAF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#175AAD
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5eaf;
/* rgb */ color: rgb(46, 94, 175);
/* oklch */ color: oklch(49.3% 0.140 260.2);
Tailwind
colors: {
  custom: {
    50: '#788bc7',
    500: '#2e5eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eaf;
$custom-light: #788bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eaf",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 217.674,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49271,
    "c": 0.13952,
    "h": 260.2
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#2E5EAF
secondary
#C5A774
accent
#A846E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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