#2B3EB4#2B3EB4

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

Color values

HEX#2B3EB4
RGBrgb(43, 62, 180)
HSLhsl(232, 61%, 44%)
HSVhsv(232, 76%, 71%)
CMYKcmyk(76.1%, 65.6%, 0%, 29.4%)
CIE-LABlab(32.38, 34.81, -64.45)
CIE-LCHlch(32.38, 73.25, 298.37°)
OKLaboklab(43.09% -0.0019 -0.1864)
OKLCHoklch(43.09% 0.186 269.4)
XYZxyz(10.9543, 7.2529, 43.9938)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EB4 #B4A12B
analogous
#2B82B4 #2B3EB4 #5C2BB4
triadic
#2B3EB4 #B42B3E #3EB42B
tetradic
#2B3EB4 #B42B82 #B4A12B #2BB45C
square
#2B3EB4 #B42B82 #B4A12B #2BB45C
split-complementary
#2B3EB4 #B45C2B #82B42B
monochromatic
#131C51 #1F2D83 #2B3EB4 #495CD3 #7A88DF

Accessibility & contrast

On white

8.57
#2B3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B3EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EB4
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EB4#FFFFFF#000000##FFFFFF
##2B3EB41.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b3eb4;
/* rgb */ color: rgb(43, 62, 180);
/* oklch */ color: oklch(43.1% 0.186 269.4);
Tailwind
colors: {
  custom: {
    50: '#7a73cb',
    500: '#2b3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eb4;
$custom-light: #7a73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eb4",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 231.679,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.18645,
    "h": 269.4
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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