#2D43B0#2D43B0

#2D43B0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.175 H 269.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2D43B0
RGBrgb(45, 67, 176)
HSLhsl(230, 59%, 43%)
HSVhsv(230, 74%, 69%)
CMYKcmyk(74.4%, 61.9%, 0%, 31%)
CIE-LABlab(33.36, 30.33, -60.46)
CIE-LCHlch(33.36, 67.63, 296.64°)
OKLaboklab(43.73% -0.003 -0.1746)
OKLCHoklch(43.73% 0.175 269)
XYZxyz(10.9231, 7.7056, 41.9775)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43B0 #B09A2D
analogous
#2D84B0 #2D43B0 #592DB0
triadic
#2D43B0 #B02D43 #43B02D
tetradic
#2D43B0 #B02D84 #B09A2D #2DB059
square
#2D43B0 #B02D84 #B09A2D #2DB059
split-complementary
#2D43B0 #B0592D #84B02D
monochromatic
#141E4F #21307F #2D43B0 #4A60D1 #7A8BDD

Accessibility & contrast

On white

8.26
#2D43B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2D43B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43B0
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43B0#FFFFFF#000000##FFFFFF
##2D43B01.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d43b0;
/* rgb */ color: rgb(45, 67, 176);
/* oklch */ color: oklch(43.7% 0.175 269.0);
Tailwind
colors: {
  custom: {
    50: '#7977c9',
    500: '#2d43b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d43b0;
$custom-light: #7977c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43b0",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 176
  },
  "hsl": {
    "h": 229.924,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43732,
    "c": 0.17468,
    "h": 269
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#2D43B0
secondary
#C5B873
accent
#C845E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D43B0

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

Preview Lab → · Contrast checker → · Palette generator →

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