#2E418F#2E418F

#2E418F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.131 H 269.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2E418F
RGBrgb(46, 65, 143)
HSLhsl(228, 51%, 37%)
HSVhsv(228, 68%, 56%)
CMYKcmyk(67.8%, 54.5%, 0%, 43.9%)
CIE-LABlab(30.26, 19.46, -45.55)
CIE-LCHlch(30.26, 49.54, 293.14°)
OKLaboklab(40.61% -0.0013 -0.1309)
OKLCHoklch(40.61% 0.131 269.4)
XYZxyz(7.9732, 6.3439, 26.7856)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E418F #8F7C2E
analogous
#2E728F #2E418F #4B2E8F
triadic
#2E418F #8F2E41 #418F2E
tetradic
#2E418F #8F2E72 #8F7C2E #2E8F4B
square
#2E418F #8F2E72 #8F7C2E #2E8F4B
split-complementary
#2E418F #8F4B2E #728F2E
monochromatic
#101732 #1F2C61 #2E418F #3D56BD #697DCF

Accessibility & contrast

On white

9.26
#2E418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E418F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E418F#FFFFFF#000000##FFFFFF
##2E418F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e418f;
/* rgb */ color: rgb(46, 65, 143);
/* oklch */ color: oklch(40.6% 0.131 269.4);
Tailwind
colors: {
  custom: {
    50: '#7275b0',
    500: '#2e418f',
    950: '#000000',
  },
}
SCSS
$custom: #2e418f;
$custom-light: #7275b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e418f",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 228.247,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.13087,
    "h": 269.4
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#2E418F
secondary
#B6A563
accent
#BF4DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E418F

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

Preview Lab → · Contrast checker → · Palette generator →

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