#2D3093#2D3093

#2D3093 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.159 H 274.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2D3093
RGBrgb(45, 48, 147)
HSLhsl(238, 53%, 38%)
HSVhsv(238, 69%, 58%)
CMYKcmyk(69.4%, 67.3%, 0%, 42.4%)
CIE-LABlab(26.09, 32.11, -54.81)
CIE-LCHlch(26.09, 63.52, 300.36°)
OKLaboklab(37.61% 0.0121 -0.1582)
OKLCHoklch(37.61% 0.159 274.4)
XYZxyz(7.4039, 4.7777, 28.1301)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3093 #93902D
analogous
#2D6393 #2D3093 #5D2D93
triadic
#2D3093 #932D30 #30932D
tetradic
#2D3093 #932D63 #93902D #2D935D
square
#2D3093 #932D63 #93902D #2D935D
split-complementary
#2D3093 #935D2D #63932D
monochromatic
#101135 #1F2164 #2D3093 #3B3FC2 #696CD1

Accessibility & contrast

On white

10.74
#2D3093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D3093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3093
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3093#FFFFFF#000000##FFFFFF
##2D30931.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3093;
/* rgb */ color: rgb(45, 48, 147);
/* oklch */ color: oklch(37.6% 0.159 274.4);
Tailwind
colors: {
  custom: {
    50: '#7468b4',
    500: '#2d3093',
    950: '#000000',
  },
}
SCSS
$custom: #2d3093;
$custom-light: #7468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3093",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 147
  },
  "hsl": {
    "h": 238.235,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37606,
    "c": 0.15871,
    "h": 274.4
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#2D3093
secondary
#B8B564
accent
#D84BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3093

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

Preview Lab → · Contrast checker → · Palette generator →

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