#2D3091#2D3091

#2D3091 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.156 H 274.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#2D3091
RGBrgb(45, 48, 145)
HSLhsl(238, 53%, 37%)
HSVhsv(238, 69%, 57%)
CMYKcmyk(69%, 66.9%, 0%, 43.1%)
CIE-LABlab(25.91, 31.39, -53.88)
CIE-LCHlch(25.91, 62.35, 300.23°)
OKLaboklab(37.42% 0.0123 -0.1555)
OKLCHoklch(37.42% 0.156 274.5)
XYZxyz(7.2483, 4.7155, 27.3108)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3091 #918E2D
analogous
#2D6291 #2D3091 #5C2D91
triadic
#2D3091 #912D30 #30912D
tetradic
#2D3091 #912D62 #918E2D #2D915C
square
#2D3091 #912D62 #918E2D #2D915C
split-complementary
#2D3091 #915C2D #62912D
monochromatic
#101134 #1F2162 #2D3091 #3B3FC0 #686BD0

Accessibility & contrast

On white

10.81
#2D3091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3091
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3091#FFFFFF#000000##FFFFFF
##2D30911.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3091;
/* rgb */ color: rgb(45, 48, 145);
/* oklch */ color: oklch(37.4% 0.156 274.5);
Tailwind
colors: {
  custom: {
    50: '#7468b2',
    500: '#2d3091',
    950: '#000000',
  },
}
SCSS
$custom: #2d3091;
$custom-light: #7468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3091",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 238.2,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.156,
    "h": 274.5
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#2D3091
secondary
#B7B463
accent
#D84CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3091

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

Preview Lab → · Contrast checker → · Palette generator →

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