#2D34C9#2D34C9

#2D34C9 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.223 H 270.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2D34C9
RGBrgb(45, 52, 201)
HSLhsl(237, 63%, 48%)
HSVhsv(237, 78%, 79%)
CMYKcmyk(77.6%, 74.1%, 0%, 21.2%)
CIE-LABlab(32.32, 48.32, -76.89)
CIE-LCHlch(32.32, 90.81, 302.15°)
OKLaboklab(43.69% 0.0026 -0.2227)
OKLCHoklch(43.69% 0.223 270.7)
XYZxyz(12.8492, 7.2295, 55.9652)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D34C9 #C9C22D
analogous
#2D82C9 #2D34C9 #742DC9
triadic
#2D34C9 #C92D34 #34C92D
tetradic
#2D34C9 #C92D82 #C9C22D #2DC974
square
#2D34C9 #C92D82 #C9C22D #2DC974
split-complementary
#2D34C9 #C9742D #82C92D
monochromatic
#171A65 #222797 #2D34C9 #595FDA #8B8FE5

Accessibility & contrast

On white

8.58
#2D34C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D34C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D34C9
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D34C9#FFFFFF#000000##FFFFFF
##2D34C91.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#0044C6
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d34c9;
/* rgb */ color: rgb(45, 52, 201);
/* oklch */ color: oklch(43.7% 0.223 270.7);
Tailwind
colors: {
  custom: {
    50: '#816ddb',
    500: '#2d34c9',
    950: '#000000',
  },
}
SCSS
$custom: #2d34c9;
$custom-light: #816ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d34c9",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 237.308,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.22269,
    "h": 270.7
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#2D34C9
secondary
#CFCC83
accent
#DF41E6
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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