#2E4098#2E4098

#2E4098 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.145 H 270.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2E4098
RGBrgb(46, 64, 152)
HSLhsl(230, 54%, 39%)
HSVhsv(230, 70%, 60%)
CMYKcmyk(69.7%, 57.9%, 0%, 40.4%)
CIE-LABlab(30.67, 23.51, -50.39)
CIE-LCHlch(30.67, 55.61, 295.01°)
OKLaboklab(41.14% 0.0001 -0.1451)
OKLCHoklch(41.14% 0.145 270.1)
XYZxyz(8.6257, 6.5138, 30.5024)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4098 #98862E
analogous
#2E7598 #2E4098 #512E98
triadic
#2E4098 #982E40 #40982E
tetradic
#2E4098 #982E75 #98862E #2E9851
square
#2E4098 #982E75 #98862E #2E9851
split-complementary
#2E4098 #98512E #75982E
monochromatic
#12183A #202C69 #2E4098 #3E55C5 #6D7FD3

Accessibility & contrast

On white

9.12
#2E4098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4098
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4098#FFFFFF#000000##FFFFFF
##2E40981.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4098;
/* rgb */ color: rgb(46, 64, 152);
/* oklch */ color: oklch(41.1% 0.145 270.1);
Tailwind
colors: {
  custom: {
    50: '#7474b7',
    500: '#2e4098',
    950: '#000000',
  },
}
SCSS
$custom: #2e4098;
$custom-light: #7474b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4098",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 229.811,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41136,
    "c": 0.14512,
    "h": 270.1
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#2E4098
secondary
#BAAC68
accent
#C44BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4098

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

Preview Lab → · Contrast checker → · Palette generator →

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