#2D43BA#2D43BA

#2D43BA is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.188 H 269.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2D43BA
RGBrgb(45, 67, 186)
HSLhsl(231, 61%, 45%)
HSVhsv(231, 76%, 73%)
CMYKcmyk(75.8%, 64%, 0%, 27.1%)
CIE-LABlab(34.22, 34.00, -64.97)
CIE-LCHlch(34.22, 73.32, 297.62°)
OKLaboklab(44.63% -0.0033 -0.1879)
OKLCHoklch(44.63% 0.188 269)
XYZxyz(11.9492, 8.1161, 47.3817)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43BA #BAA42D
analogous
#2D8ABA #2D43BA #5D2DBA
triadic
#2D43BA #BA2D43 #43BA2D
tetradic
#2D43BA #BA2D8A #BAA42D #2DBA5D
square
#2D43BA #BA2D8A #BAA42D #2DBA5D
split-complementary
#2D43BA #BA5D2D #8ABA2D
monochromatic
#151F57 #213189 #2D43BA #5064D5 #8190E0

Accessibility & contrast

On white

8.00
#2D43BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D43BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43BA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43BA#FFFFFF#000000##FFFFFF
##2D43BA1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d43ba;
/* rgb */ color: rgb(45, 67, 186);
/* oklch */ color: oklch(44.6% 0.188 269.0);
Tailwind
colors: {
  custom: {
    50: '#7c77d0',
    500: '#2d43ba',
    950: '#000000',
  },
}
SCSS
$custom: #2d43ba;
$custom-light: #7c77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43ba",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 230.638,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44634,
    "c": 0.1879,
    "h": 269
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#2D43BA
secondary
#C9BD79
accent
#CB44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D43BA

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

Preview Lab → · Contrast checker → · Palette generator →

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