#2E4583#2E4583

#2E4583 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.108 H 266.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2E4583
RGBrgb(46, 69, 131)
HSLhsl(224, 48%, 35%)
HSVhsv(224, 65%, 51%)
CMYKcmyk(64.9%, 47.3%, 0%, 48.6%)
CIE-LABlab(30.58, 12.24, -37.63)
CIE-LCHlch(30.58, 39.57, 288.02°)
OKLaboklab(40.59% -0.0068 -0.1075)
OKLCHoklch(40.59% 0.108 266.4)
XYZxyz(7.3502, 6.4751, 22.3308)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4583 #836C2E
analogous
#2E7083 #2E4583 #422E83
triadic
#2E4583 #832E45 #45832E
tetradic
#2E4583 #832E70 #836C2E #2E8342
square
#2E4583 #832E70 #836C2E #2E8342
split-complementary
#2E4583 #83422E #70832E
monochromatic
#0E1528 #1E2D56 #2E4583 #3E5DB0 #637EC8

Accessibility & contrast

On white

9.15
#2E4583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E4583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4583
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4583#FFFFFF#000000##FFFFFF
##2E45831.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#194482
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4583;
/* rgb */ color: rgb(46, 69, 131);
/* oklch */ color: oklch(40.6% 0.108 266.4);
Tailwind
colors: {
  custom: {
    50: '#7078a7',
    500: '#2e4583',
    950: '#000000',
  },
}
SCSS
$custom: #2e4583;
$custom-light: #7078a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4583",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 223.765,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.10773,
    "h": 266.4
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#2E4583
secondary
#AF995E
accent
#B350D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4583

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

Preview Lab → · Contrast checker → · Palette generator →

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