#2D38C9#2D38C9

#2D38C9 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.219 H 270.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2D38C9
RGBrgb(45, 56, 201)
HSLhsl(236, 63%, 48%)
HSVhsv(236, 78%, 79%)
CMYKcmyk(77.6%, 72.1%, 0%, 21.2%)
CIE-LABlab(33.14, 46.04, -75.54)
CIE-LCHlch(33.14, 88.47, 301.36°)
OKLaboklab(44.28% 0.001 -0.2188)
OKLCHoklch(44.28% 0.219 270.3)
XYZxyz(13.0354, 7.6018, 56.0273)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D38C9 #C9BE2D
analogous
#2D86C9 #2D38C9 #702DC9
triadic
#2D38C9 #C92D38 #38C92D
tetradic
#2D38C9 #C92D86 #C9BE2D #2DC970
square
#2D38C9 #C92D86 #C9BE2D #2DC970
split-complementary
#2D38C9 #C9702D #86C92D
monochromatic
#171C65 #222A97 #2D38C9 #5962DA #8B92E5

Accessibility & contrast

On white

8.33
#2D38C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D38C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D38C9
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D38C9#FFFFFF#000000##FFFFFF
##2D38C91.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0046C6
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d38c9;
/* rgb */ color: rgb(45, 56, 201);
/* oklch */ color: oklch(44.3% 0.219 270.3);
Tailwind
colors: {
  custom: {
    50: '#8070db',
    500: '#2d38c9',
    950: '#000000',
  },
}
SCSS
$custom: #2d38c9;
$custom-light: #8070db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d38c9",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 235.769,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.21877,
    "h": 270.3
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#2D38C9
secondary
#CFCA83
accent
#DB41E6
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D38C9

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

Preview Lab → · Contrast checker → · Palette generator →

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