#2B3EB8#2B3EB8

#2B3EB8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.192 H 269.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2B3EB8
RGBrgb(43, 62, 184)
HSLhsl(232, 62%, 45%)
HSVhsv(232, 77%, 72%)
CMYKcmyk(76.6%, 66.3%, 0%, 27.8%)
CIE-LABlab(32.74, 36.26, -66.22)
CIE-LCHlch(32.74, 75.50, 298.70°)
OKLaboklab(43.47% -0.0021 -0.1916)
OKLCHoklch(43.47% 0.192 269.4)
XYZxyz(11.3676, 7.4183, 46.1709)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EB8 #B8A52B
analogous
#2B85B8 #2B3EB8 #5F2BB8
triadic
#2B3EB8 #B82B3E #3EB82B
tetradic
#2B3EB8 #B82B85 #B8A52B #2BB85F
square
#2B3EB8 #B82B85 #B8A52B #2BB85F
split-complementary
#2B3EB8 #B85F2B #85B82B
monochromatic
#141D55 #1F2D86 #2B3EB8 #4B5ED5 #7D8AE1

Accessibility & contrast

On white

8.45
#2B3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EB8
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EB8#FFFFFF#000000##FFFFFF
##2B3EB81.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b3eb8;
/* rgb */ color: rgb(43, 62, 184);
/* oklch */ color: oklch(43.5% 0.192 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b73ce',
    500: '#2b3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eb8;
$custom-light: #7b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eb8",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 231.915,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.19163,
    "h": 269.4
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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