#2D3EA2#2D3EA2

#2D3EA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.162 H 270.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2D3EA2
RGBrgb(45, 62, 162)
HSLhsl(231, 57%, 41%)
HSVhsv(231, 72%, 64%)
CMYKcmyk(72.2%, 61.7%, 0%, 36.5%)
CIE-LABlab(30.90, 28.43, -56.08)
CIE-LCHlch(30.90, 62.88, 296.88°)
OKLaboklab(41.55% 0.0008 -0.1619)
OKLCHoklch(41.55% 0.162 270.3)
XYZxyz(9.3242, 6.6108, 34.9600)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3EA2 #A2912D
analogous
#2D78A2 #2D3EA2 #562DA2
triadic
#2D3EA2 #A22D3E #3EA22D
tetradic
#2D3EA2 #A22D78 #A2912D #2DA256
square
#2D3EA2 #A22D78 #A2912D #2DA256
split-complementary
#2D3EA2 #A2562D #78A22D
monochromatic
#121942 #202C72 #2D3EA2 #4256CA #7280D8

Accessibility & contrast

On white

9.04
#2D3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3EA2
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3EA2#FFFFFF#000000##FFFFFF
##2D3EA21.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d3ea2;
/* rgb */ color: rgb(45, 62, 162);
/* oklch */ color: oklch(41.5% 0.162 270.3);
Tailwind
colors: {
  custom: {
    50: '#7673be',
    500: '#2d3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ea2;
$custom-light: #7673be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ea2",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 231.282,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.16188,
    "h": 270.3
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#2D3EA2
secondary
#BFB36C
accent
#CA48E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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