#2D43B7#2D43B7

#2D43B7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.184 H 269.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2D43B7
RGBrgb(45, 67, 183)
HSLhsl(230, 61%, 45%)
HSVhsv(230, 75%, 72%)
CMYKcmyk(75.4%, 63.4%, 0%, 28.2%)
CIE-LABlab(33.96, 32.90, -63.62)
CIE-LCHlch(33.96, 71.63, 297.34°)
OKLaboklab(44.36% -0.0032 -0.1839)
OKLCHoklch(44.36% 0.184 269)
XYZxyz(11.6336, 7.9898, 45.7196)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43B7 #B7A12D
analogous
#2D88B7 #2D43B7 #5C2DB7
triadic
#2D43B7 #B72D43 #43B72D
tetradic
#2D43B7 #B72D88 #B7A12D #2DB75C
square
#2D43B7 #B72D88 #B7A12D #2DB75C
split-complementary
#2D43B7 #B75C2D #88B72D
monochromatic
#151F55 #213186 #2D43B7 #4E63D3 #7F8EDF

Accessibility & contrast

On white

8.08
#2D43B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2D43B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43B7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43B7#FFFFFF#000000##FFFFFF
##2D43B71.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d43b7;
/* rgb */ color: rgb(45, 67, 183);
/* oklch */ color: oklch(44.4% 0.184 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b77ce',
    500: '#2d43b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d43b7;
$custom-light: #7b77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43b7",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 230.435,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44361,
    "c": 0.18397,
    "h": 269
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#2D43B7
secondary
#C8BB78
accent
#CA44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D43B7

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

Preview Lab → · Contrast checker → · Palette generator →

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