#2D3B90#2D3B90

#2D3B90 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.141 H 271.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2D3B90
RGBrgb(45, 59, 144)
HSLhsl(232, 52%, 37%)
HSVhsv(232, 69%, 56%)
CMYKcmyk(68.7%, 59%, 0%, 43.5%)
CIE-LABlab(28.64, 23.74, -48.80)
CIE-LCHlch(28.64, 54.27, 295.94°)
OKLaboklab(39.4% 0.0033 -0.1405)
OKLCHoklch(39.4% 0.141 271.3)
XYZxyz(7.6785, 5.6987, 27.0755)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B90 #90822D
analogous
#2D6D90 #2D3B90 #512D90
triadic
#2D3B90 #902D3B #3B902D
tetradic
#2D3B90 #902D6D #90822D #2D9051
square
#2D3B90 #902D6D #90822D #2D9051
split-complementary
#2D3B90 #90512D #6D902D
monochromatic
#101533 #1E2861 #2D3B90 #3C4EBF #6876D0

Accessibility & contrast

On white

9.81
#2D3B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D3B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B90
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B90#FFFFFF#000000##FFFFFF
##2D3B901.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3b90;
/* rgb */ color: rgb(45, 59, 144);
/* oklch */ color: oklch(39.4% 0.141 271.3);
Tailwind
colors: {
  custom: {
    50: '#7370b1',
    500: '#2d3b90',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b90;
$custom-light: #7370b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b90",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 144
  },
  "hsl": {
    "h": 231.515,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39403,
    "c": 0.14057,
    "h": 271.3
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#2D3B90
secondary
#B6AB62
accent
#C74CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3B90

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

Preview Lab → · Contrast checker → · Palette generator →

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