#2B3EB5#2B3EB5

#2B3EB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.188 H 269.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2B3EB5
RGBrgb(43, 62, 181)
HSLhsl(232, 62%, 44%)
HSVhsv(232, 76%, 71%)
CMYKcmyk(76.2%, 65.7%, 0%, 29%)
CIE-LABlab(32.47, 35.17, -64.89)
CIE-LCHlch(32.47, 73.81, 298.46°)
OKLaboklab(43.18% -0.0019 -0.1877)
OKLCHoklch(43.18% 0.188 269.4)
XYZxyz(11.0565, 7.2938, 44.5322)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EB5 #B5A22B
analogous
#2B83B5 #2B3EB5 #5D2BB5
triadic
#2B3EB5 #B52B3E #3EB52B
tetradic
#2B3EB5 #B52B83 #B5A22B #2BB55D
square
#2B3EB5 #B52B83 #B5A22B #2BB55D
split-complementary
#2B3EB5 #B55D2B #83B52B
monochromatic
#141C52 #1F2D84 #2B3EB5 #495CD4 #7B89E0

Accessibility & contrast

On white

8.54
#2B3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2B3EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EB5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EB5#FFFFFF#000000##FFFFFF
##2B3EB51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b3eb5;
/* rgb */ color: rgb(43, 62, 181);
/* oklch */ color: oklch(43.2% 0.188 269.4);
Tailwind
colors: {
  custom: {
    50: '#7a73cc',
    500: '#2b3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eb5;
$custom-light: #7a73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eb5",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 231.739,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43182,
    "c": 0.18775,
    "h": 269.4
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#2B3EB5
secondary
#C8BC74
accent
#CE43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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