#2B3AB7#2B3AB7

#2B3AB7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.195 H 270.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2B3AB7
RGBrgb(43, 58, 183)
HSLhsl(234, 62%, 44%)
HSVhsv(234, 77%, 72%)
CMYKcmyk(76.5%, 68.3%, 0%, 28.2%)
CIE-LABlab(31.71, 38.41, -67.32)
CIE-LCHlch(31.71, 77.51, 299.71°)
OKLaboklab(42.69% 0.0001 -0.1948)
OKLCHoklch(42.69% 0.195 270)
XYZxyz(11.0536, 6.9574, 45.5509)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AB7 #B7A82B
analogous
#2B80B7 #2B3AB7 #622BB7
triadic
#2B3AB7 #B72B3A #3AB72B
tetradic
#2B3AB7 #B72B80 #B7A82B #2BB762
square
#2B3AB7 #B72B80 #B7A82B #2BB762
split-complementary
#2B3AB7 #B7622B #80B72B
monochromatic
#141B54 #1F2A85 #2B3AB7 #4B59D5 #7C87E0

Accessibility & contrast

On white

8.78
#2B3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2B3AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AB7
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AB7#FFFFFF#000000##FFFFFF
##2B3AB71.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3ab7;
/* rgb */ color: rgb(43, 58, 183);
/* oklch */ color: oklch(42.7% 0.195 270.0);
Tailwind
colors: {
  custom: {
    50: '#7b70ce',
    500: '#2b3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ab7;
$custom-light: #7b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ab7",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 233.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42687,
    "c": 0.19485,
    "h": 270
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#2B3AB7
secondary
#C9C075
accent
#D443E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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