#2E5DAF#2E5DAF

#2E5DAF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.141 H 260.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2E5DAF
RGBrgb(46, 93, 175)
HSLhsl(218, 58%, 43%)
HSVhsv(218, 74%, 69%)
CMYKcmyk(73.7%, 46.9%, 0%, 31.4%)
CIE-LABlab(40.42, 12.96, -48.43)
CIE-LCHlch(40.42, 50.13, 284.98°)
OKLaboklab(49.05% -0.0228 -0.1389)
OKLCHoklch(49.05% 0.141 260.7)
XYZxyz(12.7761, 11.5033, 42.0962)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DAF #AF802E
analogous
#2E9DAF #2E5DAF #402EAF
triadic
#2E5DAF #AF2E5D #5DAF2E
tetradic
#2E5DAF #AF2E9D #AF802E #2EAF40
square
#2E5DAF #AF2E9D #AF802E #2EAF40
split-complementary
#2E5DAF #AF402E #9DAF2E
monochromatic
#15294E #21437F #2E5DAF #4B7BD0 #7B9FDC

Accessibility & contrast

On white

6.36
#2E5DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2E5DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DAF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DAF#FFFFFF#000000##FFFFFF
##2E5DAF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#135AAD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5daf;
/* rgb */ color: rgb(46, 93, 175);
/* oklch */ color: oklch(49.0% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#788ac7',
    500: '#2e5daf',
    950: '#000000',
  },
}
SCSS
$custom: #2e5daf;
$custom-light: #788ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5daf",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 218.14,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.14074,
    "h": 260.7
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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