#2D45C9#2D45C9

#2D45C9 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.4% C 0.205 H 268.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2D45C9
RGBrgb(45, 69, 201)
HSLhsl(231, 63%, 48%)
HSVhsv(231, 78%, 79%)
CMYKcmyk(77.6%, 65.7%, 0%, 21.2%)
CIE-LABlab(36.04, 38.16, -70.77)
CIE-LCHlch(36.04, 80.40, 298.33°)
OKLaboklab(46.38% -0.0052 -0.2048)
OKLCHoklch(46.38% 0.205 268.6)
XYZxyz(13.7493, 9.0296, 56.2653)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D45C9 #C9B12D
analogous
#2D93C9 #2D45C9 #632DC9
triadic
#2D45C9 #C92D45 #45C92D
tetradic
#2D45C9 #C92D93 #C9B12D #2DC963
square
#2D45C9 #C92D93 #C9B12D #2DC963
split-complementary
#2D45C9 #C9632D #93C92D
monochromatic
#172365 #223497 #2D45C9 #596DDA #8B99E5

Accessibility & contrast

On white

7.48
#2D45C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2D45C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D45C9
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D45C9#FFFFFF#000000##FFFFFF
##2D45C91.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d45c9;
/* rgb */ color: rgb(45, 69, 201);
/* oklch */ color: oklch(46.4% 0.205 268.6);
Tailwind
colors: {
  custom: {
    50: '#7f78db',
    500: '#2d45c9',
    950: '#000000',
  },
}
SCSS
$custom: #2d45c9;
$custom-light: #7f78db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d45c9",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 230.769,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46377,
    "c": 0.20489,
    "h": 268.6
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#2D45C9
secondary
#CFC383
accent
#CD41E6
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2D45C9

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

Preview Lab → · Contrast checker → · Palette generator →

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