#2E5BAF#2E5BAF

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

Color values

HEX#2E5BAF
RGBrgb(46, 91, 175)
HSLhsl(219, 58%, 43%)
HSVhsv(219, 74%, 69%)
CMYKcmyk(73.7%, 48%, 0%, 31.4%)
CIE-LABlab(39.84, 14.26, -49.35)
CIE-LCHlch(39.84, 51.37, 286.12°)
OKLaboklab(48.61% -0.0211 -0.1416)
OKLCHoklch(48.61% 0.143 261.5)
XYZxyz(12.6029, 11.1568, 42.0384)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BAF #AF822E
analogous
#2E9BAF #2E5BAF #422EAF
triadic
#2E5BAF #AF2E5B #5BAF2E
tetradic
#2E5BAF #AF2E9B #AF822E #2EAF42
square
#2E5BAF #AF2E9B #AF822E #2EAF42
split-complementary
#2E5BAF #AF422E #9BAF2E
monochromatic
#15294E #21427F #2E5BAF #4B79D0 #7B9DDC

Accessibility & contrast

On white

6.50
#2E5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2E5BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BAF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BAF#FFFFFF#000000##FFFFFF
##2E5BAF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5baf;
/* rgb */ color: rgb(46, 91, 175);
/* oklch */ color: oklch(48.6% 0.143 261.5);
Tailwind
colors: {
  custom: {
    50: '#7888c7',
    500: '#2e5baf',
    950: '#000000',
  },
}
SCSS
$custom: #2e5baf;
$custom-light: #7888c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5baf",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 219.07,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.14317,
    "h": 261.5
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#2E5BAF
secondary
#C5A974
accent
#AB46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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