#2D3790#2D3790

#2D3790 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.146 H 272.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2D3790
RGBrgb(45, 55, 144)
HSLhsl(234, 52%, 37%)
HSVhsv(234, 69%, 56%)
CMYKcmyk(68.7%, 61.8%, 0%, 43.5%)
CIE-LABlab(27.58, 26.42, -50.52)
CIE-LCHlch(27.58, 57.02, 297.61°)
OKLaboklab(38.62% 0.0067 -0.1456)
OKLCHoklch(38.62% 0.146 272.6)
XYZxyz(7.4807, 5.3032, 27.0095)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3790 #90862D
analogous
#2D6990 #2D3790 #542D90
triadic
#2D3790 #902D37 #37902D
tetradic
#2D3790 #902D69 #90862D #2D9054
square
#2D3790 #902D69 #90862D #2D9054
split-complementary
#2D3790 #90542D #69902D
monochromatic
#101333 #1E2561 #2D3790 #3C49BF #6872D0

Accessibility & contrast

On white

10.19
#2D3790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D3790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3790
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3790#FFFFFF#000000##FFFFFF
##2D37901.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3790;
/* rgb */ color: rgb(45, 55, 144);
/* oklch */ color: oklch(38.6% 0.146 272.6);
Tailwind
colors: {
  custom: {
    50: '#736db1',
    500: '#2d3790',
    950: '#000000',
  },
}
SCSS
$custom: #2d3790;
$custom-light: #736db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3790",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 233.939,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.14578,
    "h": 272.6
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#2D3790
secondary
#B6AE62
accent
#CD4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3790

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

Preview Lab → · Contrast checker → · Palette generator →

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