#2D3090#2D3090

#2D3090 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.155 H 274.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2D3090
RGBrgb(45, 48, 144)
HSLhsl(238, 52%, 37%)
HSVhsv(238, 69%, 56%)
CMYKcmyk(68.7%, 66.7%, 0%, 43.5%)
CIE-LABlab(25.82, 31.03, -53.41)
CIE-LCHlch(25.82, 61.77, 300.16°)
OKLaboklab(37.32% 0.0124 -0.1541)
OKLCHoklch(37.32% 0.155 274.6)
XYZxyz(7.1715, 4.6848, 26.9065)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3090 #908D2D
analogous
#2D6290 #2D3090 #5C2D90
triadic
#2D3090 #902D30 #30902D
tetradic
#2D3090 #902D62 #908D2D #2D905C
square
#2D3090 #902D62 #908D2D #2D905C
split-complementary
#2D3090 #905C2D #62902D
monochromatic
#101133 #1E2061 #2D3090 #3C40BF #686BD0

Accessibility & contrast

On white

10.84
#2D3090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D3090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3090
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3090#FFFFFF#000000##FFFFFF
##2D30901.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3090;
/* rgb */ color: rgb(45, 48, 144);
/* oklch */ color: oklch(37.3% 0.155 274.6);
Tailwind
colors: {
  custom: {
    50: '#7368b1',
    500: '#2d3090',
    950: '#000000',
  },
}
SCSS
$custom: #2d3090;
$custom-light: #7368b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3090",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 238.182,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37321,
    "c": 0.15464,
    "h": 274.6
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#2D3090
secondary
#B6B462
accent
#D74CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3090

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

Preview Lab → · Contrast checker → · Palette generator →

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