#2E4185#2E4185

#2E4185 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.116 H 268.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2E4185
RGBrgb(46, 65, 133)
HSLhsl(227, 49%, 35%)
HSVhsv(227, 65%, 52%)
CMYKcmyk(65.4%, 51.1%, 0%, 47.8%)
CIE-LABlab(29.55, 15.71, -40.53)
CIE-LCHlch(29.55, 43.47, 291.19°)
OKLaboklab(39.84% -0.0022 -0.1161)
OKLCHoklch(39.84% 0.116 268.9)
XYZxyz(7.2492, 6.0543, 22.9723)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4185 #85722E
analogous
#2E6C85 #2E4185 #472E85
triadic
#2E4185 #852E41 #41852E
tetradic
#2E4185 #852E6C #85722E #2E8547
square
#2E4185 #852E6C #85722E #2E8547
split-complementary
#2E4185 #85472E #6C852E
monochromatic
#0F152A #1E2B58 #2E4185 #3E57B2 #647AC9

Accessibility & contrast

On white

9.50
#2E4185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E4185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4185
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4185#FFFFFF#000000##FFFFFF
##2E41851.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A87
Deuteranopia (green-blind)
#074284
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4185;
/* rgb */ color: rgb(46, 65, 133);
/* oklch */ color: oklch(39.8% 0.116 268.9);
Tailwind
colors: {
  custom: {
    50: '#7075a9',
    500: '#2e4185',
    950: '#000000',
  },
}
SCSS
$custom: #2e4185;
$custom-light: #7075a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4185",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 226.897,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39843,
    "c": 0.11611,
    "h": 268.9
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#2E4185
secondary
#B09E5F
accent
#BA50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4185

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

Preview Lab → · Contrast checker → · Palette generator →

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