#2E4182#2E4182

#2E4182 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.112 H 268.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2E4182
RGBrgb(46, 65, 130)
HSLhsl(226, 48%, 35%)
HSVhsv(226, 65%, 51%)
CMYKcmyk(64.6%, 50%, 0%, 49%)
CIE-LABlab(29.34, 14.59, -39.00)
CIE-LCHlch(29.34, 41.64, 290.51°)
OKLaboklab(39.62% -0.0026 -0.1116)
OKLCHoklch(39.62% 0.112 268.6)
XYZxyz(7.0449, 5.9725, 21.8963)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4182 #826F2E
analogous
#2E6B82 #2E4182 #452E82
triadic
#2E4182 #822E41 #41822E
tetradic
#2E4182 #822E6B #826F2E #2E8245
square
#2E4182 #822E6B #826F2E #2E8245
split-complementary
#2E4182 #82452E #6B822E
monochromatic
#0E1428 #1E2A55 #2E4182 #3E58AF #637AC8

Accessibility & contrast

On white

9.57
#2E4182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4182
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4182#FFFFFF#000000##FFFFFF
##2E41821.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4984
Deuteranopia (green-blind)
#0F4281
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4182;
/* rgb */ color: rgb(46, 65, 130);
/* oklch */ color: oklch(39.6% 0.112 268.6);
Tailwind
colors: {
  custom: {
    50: '#7075a7',
    500: '#2e4182',
    950: '#000000',
  },
}
SCSS
$custom: #2e4182;
$custom-light: #7075a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4182",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 226.429,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3962,
    "c": 0.11161,
    "h": 268.6
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#2E4182
secondary
#AE9C5D
accent
#B950D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4182

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

Preview Lab → · Contrast checker → · Palette generator →

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