#2E5095#2E5095

#2E5095 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.120 H 262.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2E5095
RGBrgb(46, 80, 149)
HSLhsl(220, 53%, 38%)
HSVhsv(220, 69%, 58%)
CMYKcmyk(69.1%, 46.3%, 0%, 41.6%)
CIE-LABlab(34.98, 11.64, -41.62)
CIE-LCHlch(34.98, 43.22, 285.63°)
OKLaboklab(44.33% -0.0151 -0.1191)
OKLCHoklch(44.33% 0.12 262.8)
XYZxyz(9.4183, 8.4872, 29.5698)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5095 #95732E
analogous
#2E8395 #2E5095 #3F2E95
triadic
#2E5095 #952E50 #50952E
tetradic
#2E5095 #952E83 #95732E #2E953F
square
#2E5095 #952E83 #95732E #2E953F
split-complementary
#2E5095 #953F2E #83952E
monochromatic
#111E37 #203766 #2E5095 #3D69C3 #6C8DD2

Accessibility & contrast

On white

7.78
#2E5095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E5095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5095
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5095#FFFFFF#000000##FFFFFF
##2E50951.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5798
Deuteranopia (green-blind)
#1A4E94
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5095;
/* rgb */ color: rgb(46, 80, 149);
/* oklch */ color: oklch(44.3% 0.120 262.8);
Tailwind
colors: {
  custom: {
    50: '#7380b4',
    500: '#2e5095',
    950: '#000000',
  },
}
SCSS
$custom: #2e5095;
$custom-light: #7380b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5095",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 220.194,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.12003,
    "h": 262.8
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#2E5095
secondary
#B99D66
accent
#AC4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5095

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

Preview Lab → · Contrast checker → · Palette generator →

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