#2E3F99#2E3F99

#2E3F99 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.148 H 270.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2E3F99
RGBrgb(46, 63, 153)
HSLhsl(230, 54%, 39%)
HSVhsv(230, 70%, 60%)
CMYKcmyk(69.9%, 58.8%, 0%, 40%)
CIE-LABlab(30.48, 24.56, -51.31)
CIE-LCHlch(30.48, 56.88, 295.58°)
OKLaboklab(41.02% 0.001 -0.1478)
OKLCHoklch(41.02% 0.148 270.4)
XYZxyz(8.6520, 6.4349, 30.9169)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F99 #99882E
analogous
#2E7599 #2E3F99 #532E99
triadic
#2E3F99 #992E3F #3F992E
tetradic
#2E3F99 #992E75 #99882E #2E9953
square
#2E3F99 #992E75 #99882E #2E9953
split-complementary
#2E3F99 #99532E #75992E
monochromatic
#12183B #202C6A #2E3F99 #3F54C5 #6E7ED3

Accessibility & contrast

On white

9.18
#2E3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E3F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3F99
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F99#FFFFFF#000000##FFFFFF
##2E3F991.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3f99;
/* rgb */ color: rgb(46, 63, 153);
/* oklch */ color: oklch(41.0% 0.148 270.4);
Tailwind
colors: {
  custom: {
    50: '#7573b8',
    500: '#2e3f99',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f99;
$custom-light: #7573b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f99",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 230.467,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.14782,
    "h": 270.4
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#2E3F99
secondary
#BBAE68
accent
#C64BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E3F99

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

Preview Lab → · Contrast checker → · Palette generator →

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