#2E4085#2E4085

#2E4085 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.6% C 0.117 H 269.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2E4085
RGBrgb(46, 64, 133)
HSLhsl(228, 49%, 35%)
HSVhsv(228, 65%, 52%)
CMYKcmyk(65.4%, 51.9%, 0%, 47.8%)
CIE-LABlab(29.26, 16.39, -40.99)
CIE-LCHlch(29.26, 44.15, 291.79°)
OKLaboklab(39.63% -0.0012 -0.1175)
OKLCHoklch(39.63% 0.117 269.4)
XYZxyz(7.1923, 5.9405, 22.9534)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4085 #85732E
analogous
#2E6C85 #2E4085 #472E85
triadic
#2E4085 #852E40 #40852E
tetradic
#2E4085 #852E6C #85732E #2E8547
square
#2E4085 #852E6C #85732E #2E8547
split-complementary
#2E4085 #85472E #6C852E
monochromatic
#0F142A #1E2A58 #2E4085 #3E56B2 #6479C9

Accessibility & contrast

On white

9.60
#2E4085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E4085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4085
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4085#FFFFFF#000000##FFFFFF
##2E40851.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#024184
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4085;
/* rgb */ color: rgb(46, 64, 133);
/* oklch */ color: oklch(39.6% 0.117 269.4);
Tailwind
colors: {
  custom: {
    50: '#7074a9',
    500: '#2e4085',
    950: '#000000',
  },
}
SCSS
$custom: #2e4085;
$custom-light: #7074a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4085",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 227.586,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.11747,
    "h": 269.4
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#2E4085
secondary
#B09F5F
accent
#BC50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4085

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

Preview Lab → · Contrast checker → · Palette generator →

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