#2B3EB6#2B3EB6

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

Color values

HEX#2B3EB6
RGBrgb(43, 62, 182)
HSLhsl(232, 62%, 44%)
HSVhsv(232, 76%, 71%)
CMYKcmyk(76.4%, 65.9%, 0%, 28.6%)
CIE-LABlab(32.56, 35.53, -65.34)
CIE-LCHlch(32.56, 74.37, 298.54°)
OKLaboklab(43.28% -0.002 -0.189)
OKLCHoklch(43.28% 0.189 269.4)
XYZxyz(11.1595, 7.3350, 45.0746)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EB6 #B6A32B
analogous
#2B84B6 #2B3EB6 #5E2BB6
triadic
#2B3EB6 #B62B3E #3EB62B
tetradic
#2B3EB6 #B62B84 #B6A32B #2BB65E
square
#2B3EB6 #B62B84 #B6A32B #2BB65E
split-complementary
#2B3EB6 #B65E2B #84B62B
monochromatic
#141C53 #1F2D84 #2B3EB6 #4A5DD4 #7B89E0

Accessibility & contrast

On white

8.51
#2B3EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2B3EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EB6
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EB6#FFFFFF#000000##FFFFFF
##2B3EB61.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b3eb6;
/* rgb */ color: rgb(43, 62, 182);
/* oklch */ color: oklch(43.3% 0.189 269.4);
Tailwind
colors: {
  custom: {
    50: '#7a73cd',
    500: '#2b3eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eb6;
$custom-light: #7a73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eb6",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 231.799,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43276,
    "c": 0.18905,
    "h": 269.4
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#2B3EB6
secondary
#C8BD75
accent
#CF43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2B3EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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