#2B3AB6#2B3AB6

#2B3AB6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.194 H 270.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2B3AB6
RGBrgb(43, 58, 182)
HSLhsl(234, 62%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(76.4%, 68.1%, 0%, 28.6%)
CIE-LABlab(31.61, 38.06, -66.89)
CIE-LCHlch(31.61, 76.95, 299.64°)
OKLaboklab(42.59% 0.0002 -0.1936)
OKLCHoklch(42.59% 0.194 270.1)
XYZxyz(10.9499, 6.9159, 45.0047)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AB6 #B6A72B
analogous
#2B80B6 #2B3AB6 #622BB6
triadic
#2B3AB6 #B62B3A #3AB62B
tetradic
#2B3AB6 #B62B80 #B6A72B #2BB662
square
#2B3AB6 #B62B80 #B6A72B #2BB662
split-complementary
#2B3AB6 #B6622B #80B62B
monochromatic
#141A53 #1F2A84 #2B3AB6 #4A59D4 #7B86E0

Accessibility & contrast

On white

8.81
#2B3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B3AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AB6
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AB6#FFFFFF#000000##FFFFFF
##2B3AB61.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3ab6;
/* rgb */ color: rgb(43, 58, 182);
/* oklch */ color: oklch(42.6% 0.194 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b70cd',
    500: '#2b3ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ab6;
$custom-light: #7b70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ab6",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 233.525,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42589,
    "c": 0.19358,
    "h": 270.1
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#2B3AB6
secondary
#C8BF75
accent
#D343E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B3AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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