#2E3FA2#2E3FA2

#2E3FA2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.160 H 270.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2E3FA2
RGBrgb(46, 63, 162)
HSLhsl(231, 56%, 41%)
HSVhsv(231, 72%, 64%)
CMYKcmyk(71.6%, 61.1%, 0%, 36.5%)
CIE-LABlab(31.22, 27.90, -55.57)
CIE-LCHlch(31.22, 62.18, 296.66°)
OKLaboklab(41.79% 0.0011 -0.1603)
OKLCHoklch(41.79% 0.16 270.4)
XYZxyz(9.4236, 6.7435, 34.9804)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3FA2 #A2912E
analogous
#2E79A2 #2E3FA2 #572EA2
triadic
#2E3FA2 #A22E3F #3FA22E
tetradic
#2E3FA2 #A22E79 #A2912E #2EA257
square
#2E3FA2 #A22E79 #A2912E #2EA257
split-complementary
#2E3FA2 #A2572E #79A22E
monochromatic
#131A43 #202C72 #2E3FA2 #4357CA #7382D7

Accessibility & contrast

On white

8.94
#2E3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3FA2
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3FA2#FFFFFF#000000##FFFFFF
##2E3FA21.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e3fa2;
/* rgb */ color: rgb(46, 63, 162);
/* oklch */ color: oklch(41.8% 0.160 270.4);
Tailwind
colors: {
  custom: {
    50: '#7773be',
    500: '#2e3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2e3fa2;
$custom-light: #7773be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3fa2",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 231.207,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.16034,
    "h": 270.4
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#2E3FA2
secondary
#BFB36D
accent
#C949DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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