#2D3C90#2D3C90

#2D3C90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.139 H 271.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2D3C90
RGBrgb(45, 60, 144)
HSLhsl(231, 52%, 37%)
HSVhsv(231, 69%, 56%)
CMYKcmyk(68.7%, 58.3%, 0%, 43.5%)
CIE-LABlab(28.91, 23.06, -48.37)
CIE-LCHlch(28.91, 53.58, 295.49°)
OKLaboklab(39.6% 0.0024 -0.1392)
OKLCHoklch(39.6% 0.139 271)
XYZxyz(7.7304, 5.8025, 27.0928)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C90 #90812D
analogous
#2D6E90 #2D3C90 #502D90
triadic
#2D3C90 #902D3C #3C902D
tetradic
#2D3C90 #902D6E #90812D #2D9050
square
#2D3C90 #902D6E #90812D #2D9050
split-complementary
#2D3C90 #90502D #6E902D
monochromatic
#101533 #1E2961 #2D3C90 #3C4FBF #6877D0

Accessibility & contrast

On white

9.72
#2D3C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D3C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C90
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C90#FFFFFF#000000##FFFFFF
##2D3C901.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3c90;
/* rgb */ color: rgb(45, 60, 144);
/* oklch */ color: oklch(39.6% 0.139 271.0);
Tailwind
colors: {
  custom: {
    50: '#7371b1',
    500: '#2d3c90',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c90;
$custom-light: #7371b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c90",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 230.909,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39604,
    "c": 0.13925,
    "h": 271
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#2D3C90
secondary
#B6AA62
accent
#C64CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3C90

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

Preview Lab → · Contrast checker → · Palette generator →

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