#2B43B0#2B43B0

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

Color values

HEX#2B43B0
RGBrgb(43, 67, 176)
HSLhsl(229, 61%, 43%)
HSVhsv(229, 76%, 69%)
CMYKcmyk(75.6%, 61.9%, 0%, 31%)
CIE-LABlab(33.27, 30.09, -60.61)
CIE-LCHlch(33.27, 67.67, 296.40°)
OKLaboklab(43.64% -0.0049 -0.1752)
OKLCHoklch(43.64% 0.175 268.4)
XYZxyz(10.8372, 7.6613, 41.9735)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43B0 #B0982B
analogous
#2B85B0 #2B43B0 #552BB0
triadic
#2B43B0 #B02B43 #43B02B
tetradic
#2B43B0 #B02B85 #B0982B #2BB055
square
#2B43B0 #B02B85 #B0982B #2BB055
split-complementary
#2B43B0 #B0552B #85B02B
monochromatic
#131E4E #1F307F #2B43B0 #4660D2 #788ADE

Accessibility & contrast

On white

8.29
#2B43B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B43B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B43B0
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43B0#FFFFFF#000000##FFFFFF
##2B43B01.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.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: #2b43b0;
/* rgb */ color: rgb(43, 67, 176);
/* oklch */ color: oklch(43.6% 0.175 268.4);
Tailwind
colors: {
  custom: {
    50: '#7977c9',
    500: '#2b43b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b43b0;
$custom-light: #7977c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43b0",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 176
  },
  "hsl": {
    "h": 229.173,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43636,
    "c": 0.17523,
    "h": 268.4
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#2B43B0
secondary
#C6B671
accent
#C744E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B43B0

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

Preview Lab → · Contrast checker → · Palette generator →

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