#2E3BA2#2E3BA2

#2E3BA2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.165 H 271.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2E3BA2
RGBrgb(46, 59, 162)
HSLhsl(233, 56%, 41%)
HSVhsv(233, 72%, 64%)
CMYKcmyk(71.6%, 63.6%, 0%, 36.5%)
CIE-LABlab(30.20, 30.53, -57.23)
CIE-LCHlch(30.20, 64.87, 298.08°)
OKLaboklab(41.04% 0.0041 -0.1653)
OKLCHoklch(41.04% 0.165 271.4)
XYZxyz(9.2101, 6.3165, 34.9092)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BA2 #A2952E
analogous
#2E75A2 #2E3BA2 #5B2EA2
triadic
#2E3BA2 #A22E3B #3BA22E
tetradic
#2E3BA2 #A22E75 #A2952E #2EA25B
square
#2E3BA2 #A22E75 #A2952E #2EA25B
split-complementary
#2E3BA2 #A25B2E #75A22E
monochromatic
#131843 #202A72 #2E3BA2 #4353CA #737ED7

Accessibility & contrast

On white

9.28
#2E3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3BA2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BA2#FFFFFF#000000##FFFFFF
##2E3BA21.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e3ba2;
/* rgb */ color: rgb(46, 59, 162);
/* oklch */ color: oklch(41.0% 0.165 271.4);
Tailwind
colors: {
  custom: {
    50: '#7771be',
    500: '#2e3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ba2;
$custom-light: #7771be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ba2",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 233.276,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4104,
    "c": 0.16531,
    "h": 271.4
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#2E3BA2
secondary
#BFB66D
accent
#CE49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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