#2D3D90#2D3D90

#2D3D90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.138 H 270.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2D3D90
RGBrgb(45, 61, 144)
HSLhsl(230, 52%, 37%)
HSVhsv(230, 69%, 56%)
CMYKcmyk(68.7%, 57.6%, 0%, 43.5%)
CIE-LABlab(29.18, 22.38, -47.93)
CIE-LCHlch(29.18, 52.90, 295.04°)
OKLaboklab(39.81% 0.0015 -0.1379)
OKLCHoklch(39.81% 0.138 270.6)
XYZxyz(7.7833, 5.9083, 27.1104)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D90 #90802D
analogous
#2D6F90 #2D3D90 #4F2D90
triadic
#2D3D90 #902D3D #3D902D
tetradic
#2D3D90 #902D6F #90802D #2D904F
square
#2D3D90 #902D6F #90802D #2D904F
split-complementary
#2D3D90 #904F2D #6F902D
monochromatic
#101533 #1E2961 #2D3D90 #3C51BF #6878D0

Accessibility & contrast

On white

9.63
#2D3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D3D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D90
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D90#FFFFFF#000000##FFFFFF
##2D3D901.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3d90;
/* rgb */ color: rgb(45, 61, 144);
/* oklch */ color: oklch(39.8% 0.138 270.6);
Tailwind
colors: {
  custom: {
    50: '#7272b1',
    500: '#2d3d90',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d90;
$custom-light: #7272b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d90",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 230.303,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39806,
    "c": 0.13793,
    "h": 270.6
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#2D3D90
secondary
#B6A962
accent
#C54CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3D90

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

Preview Lab → · Contrast checker → · Palette generator →

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