#2D3E90#2D3E90

#2D3E90 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.137 H 270.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2D3E90
RGBrgb(45, 62, 144)
HSLhsl(230, 52%, 37%)
HSVhsv(230, 69%, 56%)
CMYKcmyk(68.7%, 56.9%, 0%, 43.5%)
CIE-LABlab(29.45, 21.71, -47.48)
CIE-LCHlch(29.45, 52.21, 294.57°)
OKLaboklab(40.01% 0.0006 -0.1366)
OKLCHoklch(40.01% 0.137 270.2)
XYZxyz(7.8371, 6.0160, 27.1283)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E90 #907F2D
analogous
#2D7090 #2D3E90 #4E2D90
triadic
#2D3E90 #902D3E #3E902D
tetradic
#2D3E90 #902D70 #907F2D #2D904E
square
#2D3E90 #902D70 #907F2D #2D904E
split-complementary
#2D3E90 #904E2D #70902D
monochromatic
#101633 #1E2A61 #2D3E90 #3C52BF #687AD0

Accessibility & contrast

On white

9.53
#2D3E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D3E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E90
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E90#FFFFFF#000000##FFFFFF
##2D3E901.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3e90;
/* rgb */ color: rgb(45, 62, 144);
/* oklch */ color: oklch(40.0% 0.137 270.2);
Tailwind
colors: {
  custom: {
    50: '#7273b1',
    500: '#2d3e90',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e90;
$custom-light: #7273b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e90",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 229.697,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.13661,
    "h": 270.2
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#2D3E90
secondary
#B6A862
accent
#C34CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3E90

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

Preview Lab → · Contrast checker → · Palette generator →

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