#2B43B5#2B43B5

#2B43B5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.182 H 268.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2B43B5
RGBrgb(43, 67, 181)
HSLhsl(230, 62%, 44%)
HSVhsv(230, 76%, 71%)
CMYKcmyk(76.2%, 63%, 0%, 29%)
CIE-LABlab(33.70, 31.95, -62.88)
CIE-LCHlch(33.70, 70.53, 296.94°)
OKLaboklab(44.09% -0.005 -0.1818)
OKLCHoklch(44.09% 0.182 268.4)
XYZxyz(11.3410, 7.8628, 44.6271)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43B5 #B59D2B
analogous
#2B88B5 #2B43B5 #582BB5
triadic
#2B43B5 #B52B43 #43B52B
tetradic
#2B43B5 #B52B88 #B59D2B #2BB558
square
#2B43B5 #B52B88 #B59D2B #2BB558
split-complementary
#2B43B5 #B5582B #88B52B
monochromatic
#141E52 #1F3184 #2B43B5 #4961D4 #7B8CE0

Accessibility & contrast

On white

8.16
#2B43B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B43B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B43B5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43B5#FFFFFF#000000##FFFFFF
##2B43B51.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b43b5;
/* rgb */ color: rgb(43, 67, 181);
/* oklch */ color: oklch(44.1% 0.182 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a77cc',
    500: '#2b43b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b43b5;
$custom-light: #7a77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43b5",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 229.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44085,
    "c": 0.18187,
    "h": 268.4
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#2B43B5
secondary
#C8B974
accent
#C943E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B43B5

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

Preview Lab → · Contrast checker → · Palette generator →

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