#2E5183#2E5183

#2E5183 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.093 H 257.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2E5183
RGBrgb(46, 81, 131)
HSLhsl(215, 48%, 35%)
HSVhsv(215, 65%, 51%)
CMYKcmyk(64.9%, 38.2%, 0%, 48.6%)
CIE-LABlab(34.20, 4.24, -31.87)
CIE-LCHlch(34.20, 32.15, 277.58°)
OKLaboklab(43.38% -0.0201 -0.0904)
OKLCHoklch(43.38% 0.093 257.4)
XYZxyz(8.1644, 8.1036, 22.6022)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5183 #83602E
analogous
#2E7C83 #2E5183 #352E83
triadic
#2E5183 #832E51 #51832E
tetradic
#2E5183 #832E7C #83602E #2E8335
square
#2E5183 #832E7C #83602E #2E8335
split-complementary
#2E5183 #83352E #7C832E
monochromatic
#0E1928 #1E3556 #2E5183 #3E6DB0 #638DC8

Accessibility & contrast

On white

8.01
#2E5183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E5183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5183
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5183#FFFFFF#000000##FFFFFF
##2E51831.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5585
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5183;
/* rgb */ color: rgb(46, 81, 131);
/* oklch */ color: oklch(43.4% 0.093 257.4);
Tailwind
colors: {
  custom: {
    50: '#6f81a7',
    500: '#2e5183',
    950: '#000000',
  },
}
SCSS
$custom: #2e5183;
$custom-light: #6f81a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5183",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 215.294,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4338,
    "c": 0.09267,
    "h": 257.4
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#2E5183
secondary
#AF8E5E
accent
#A050D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E5183

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

Preview Lab → · Contrast checker → · Palette generator →

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