#2D43B2#2D43B2

#2D43B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.177 H 269.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2D43B2
RGBrgb(45, 67, 178)
HSLhsl(230, 60%, 44%)
HSVhsv(230, 75%, 70%)
CMYKcmyk(74.7%, 62.4%, 0%, 30.2%)
CIE-LABlab(33.53, 31.06, -61.37)
CIE-LCHlch(33.53, 68.78, 296.85°)
OKLaboklab(43.91% -0.003 -0.1773)
OKLCHoklch(43.91% 0.177 269)
XYZxyz(11.1225, 7.7854, 43.0274)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43B2 #B29C2D
analogous
#2D85B2 #2D43B2 #592DB2
triadic
#2D43B2 #B22D43 #43B22D
tetradic
#2D43B2 #B22D85 #B29C2D #2DB259
square
#2D43B2 #B22D85 #B29C2D #2DB259
split-complementary
#2D43B2 #B2592D #85B22D
monochromatic
#141E50 #213181 #2D43B2 #4B61D1 #7C8CDE

Accessibility & contrast

On white

8.21
#2D43B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D43B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43B2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43B2#FFFFFF#000000##FFFFFF
##2D43B21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d43b2;
/* rgb */ color: rgb(45, 67, 178);
/* oklch */ color: oklch(43.9% 0.177 269.0);
Tailwind
colors: {
  custom: {
    50: '#7a77ca',
    500: '#2d43b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d43b2;
$custom-light: #7a77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43b2",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 230.075,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.17735,
    "h": 269
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#2D43B2
secondary
#C6B975
accent
#C945E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D43B2

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

Preview Lab → · Contrast checker → · Palette generator →

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