#2E5FA9#2E5FA9

#2E5FA9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.130 H 258.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2E5FA9
RGBrgb(46, 95, 169)
HSLhsl(216, 57%, 42%)
HSVhsv(216, 73%, 66%)
CMYKcmyk(72.8%, 43.8%, 0%, 33.7%)
CIE-LABlab(40.62, 9.39, -44.56)
CIE-LCHlch(40.62, 45.54, 281.90°)
OKLaboklab(49.09% -0.0258 -0.1274)
OKLCHoklch(49.09% 0.13 258.6)
XYZxyz(12.3778, 11.6285, 39.1206)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FA9 #A9782E
analogous
#2E9CA9 #2E5FA9 #3B2EA9
triadic
#2E5FA9 #A92E5F #5FA92E
tetradic
#2E5FA9 #A92E9C #A9782E #2EA93B
square
#2E5FA9 #A92E9C #A9782E #2EA93B
split-complementary
#2E5FA9 #A93B2E #9CA92E
monochromatic
#142949 #214479 #2E5FA9 #477DCD #779FDA

Accessibility & contrast

On white

6.31
#2E5FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2E5FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FA9
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FA9#FFFFFF#000000##FFFFFF
##2E5FA91.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AC
Deuteranopia (green-blind)
#255AA8
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5fa9;
/* rgb */ color: rgb(46, 95, 169);
/* oklch */ color: oklch(49.1% 0.130 258.6);
Tailwind
colors: {
  custom: {
    50: '#778bc3',
    500: '#2e5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fa9;
$custom-light: #778bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fa9",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 216.098,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.13003,
    "h": 258.6
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#2E5FA9
secondary
#C2A271
accent
#A347E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2E5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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