#2B3EB0#2B3EB0

#2B3EB0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.181 H 269.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2B3EB0
RGBrgb(43, 62, 176)
HSLhsl(231, 61%, 43%)
HSVhsv(231, 76%, 69%)
CMYKcmyk(75.6%, 64.8%, 0%, 31%)
CIE-LABlab(32.02, 33.35, -62.66)
CIE-LCHlch(32.02, 70.98, 298.02°)
OKLaboklab(42.71% -0.0016 -0.1812)
OKLCHoklch(42.71% 0.181 269.5)
XYZxyz(10.5527, 7.0923, 41.8787)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EB0 #B09D2B
analogous
#2B80B0 #2B3EB0 #5B2BB0
triadic
#2B3EB0 #B02B3E #3EB02B
tetradic
#2B3EB0 #B02B80 #B09D2B #2BB05B
square
#2B3EB0 #B02B80 #B09D2B #2BB05B
split-complementary
#2B3EB0 #B05B2B #80B02B
monochromatic
#131B4E #1F2D7F #2B3EB0 #465AD2 #7886DE

Accessibility & contrast

On white

8.68
#2B3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2B3EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EB0
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EB0#FFFFFF#000000##FFFFFF
##2B3EB01.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3eb0;
/* rgb */ color: rgb(43, 62, 176);
/* oklch */ color: oklch(42.7% 0.181 269.5);
Tailwind
colors: {
  custom: {
    50: '#7973c9',
    500: '#2b3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eb0;
$custom-light: #7973c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eb0",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 231.429,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.18122,
    "h": 269.5
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#2B3EB0
secondary
#C6BA71
accent
#CD44E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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