#2E4183#2E4183

#2E4183 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.113 H 268.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2E4183
RGBrgb(46, 65, 131)
HSLhsl(227, 48%, 35%)
HSVhsv(227, 65%, 51%)
CMYKcmyk(64.9%, 50.4%, 0%, 48.6%)
CIE-LABlab(29.41, 14.96, -39.51)
CIE-LCHlch(29.41, 42.25, 290.74°)
OKLaboklab(39.69% -0.0025 -0.1131)
OKLCHoklch(39.69% 0.113 268.7)
XYZxyz(7.1124, 5.9995, 22.2515)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4183 #83702E
analogous
#2E6C83 #2E4183 #452E83
triadic
#2E4183 #832E41 #41832E
tetradic
#2E4183 #832E6C #83702E #2E8345
square
#2E4183 #832E6C #83702E #2E8345
split-complementary
#2E4183 #83452E #6C832E
monochromatic
#0E1428 #1E2B56 #2E4183 #3E57B0 #637AC8

Accessibility & contrast

On white

9.55
#2E4183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E4183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4183
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4183#FFFFFF#000000##FFFFFF
##2E41831.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4183;
/* rgb */ color: rgb(46, 65, 131);
/* oklch */ color: oklch(39.7% 0.113 268.7);
Tailwind
colors: {
  custom: {
    50: '#7075a7',
    500: '#2e4183',
    950: '#000000',
  },
}
SCSS
$custom: #2e4183;
$custom-light: #7075a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4183",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 226.588,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.11311,
    "h": 268.7
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#2E4183
secondary
#AF9D5E
accent
#B950D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4183

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

Preview Lab → · Contrast checker → · Palette generator →

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