#2B3AB2#2B3AB2

#2B3AB2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.188 H 270.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2B3AB2
RGBrgb(43, 58, 178)
HSLhsl(233, 61%, 43%)
HSVhsv(233, 76%, 70%)
CMYKcmyk(75.8%, 67.4%, 0%, 30.2%)
CIE-LABlab(31.24, 36.63, -65.13)
CIE-LCHlch(31.24, 74.72, 299.35°)
OKLaboklab(42.2% 0.0006 -0.1884)
OKLCHoklch(42.2% 0.188 270.2)
XYZxyz(10.5425, 6.7529, 42.8587)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AB2 #B2A32B
analogous
#2B7DB2 #2B3AB2 #5F2BB2
triadic
#2B3AB2 #B22B3A #3AB22B
tetradic
#2B3AB2 #B22B7D #B2A32B #2BB25F
square
#2B3AB2 #B22B7D #B2A32B #2BB25F
split-complementary
#2B3AB2 #B25F2B #7DB22B
monochromatic
#131A4F #1F2A81 #2B3AB2 #4857D3 #7984DF

Accessibility & contrast

On white

8.93
#2B3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B3AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AB2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AB2#FFFFFF#000000##FFFFFF
##2B3AB21.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3ab2;
/* rgb */ color: rgb(43, 58, 178);
/* oklch */ color: oklch(42.2% 0.188 270.2);
Tailwind
colors: {
  custom: {
    50: '#7a70ca',
    500: '#2b3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ab2;
$custom-light: #7a70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ab2",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 233.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.18845,
    "h": 270.2
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#2B3AB2
secondary
#C7BD72
accent
#D244E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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