#2B3EB2#2B3EB2

#2B3EB2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.184 H 269.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2B3EB2
RGBrgb(43, 62, 178)
HSLhsl(232, 61%, 43%)
HSVhsv(232, 76%, 70%)
CMYKcmyk(75.8%, 65.2%, 0%, 30.2%)
CIE-LABlab(32.20, 34.08, -63.56)
CIE-LCHlch(32.20, 72.12, 298.20°)
OKLaboklab(42.9% -0.0018 -0.1838)
OKLCHoklch(42.9% 0.184 269.5)
XYZxyz(10.7520, 7.1720, 42.9285)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EB2 #B29F2B
analogous
#2B81B2 #2B3EB2 #5C2BB2
triadic
#2B3EB2 #B22B3E #3EB22B
tetradic
#2B3EB2 #B22B81 #B29F2B #2BB25C
square
#2B3EB2 #B22B81 #B29F2B #2BB25C
split-complementary
#2B3EB2 #B25C2B #81B22B
monochromatic
#131C4F #1F2D81 #2B3EB2 #485BD3 #7987DF

Accessibility & contrast

On white

8.63
#2B3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EB2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EB2#FFFFFF#000000##FFFFFF
##2B3EB21.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b3eb2;
/* rgb */ color: rgb(43, 62, 178);
/* oklch */ color: oklch(42.9% 0.184 269.5);
Tailwind
colors: {
  custom: {
    50: '#7973ca',
    500: '#2b3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eb2;
$custom-light: #7973ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eb2",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 231.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.429,
    "c": 0.18384,
    "h": 269.5
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#2B3EB2
secondary
#C7BB72
accent
#CE44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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