#2B33A3#2B33A3

#2B33A3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.177 H 272.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2B33A3
RGBrgb(43, 51, 163)
HSLhsl(236, 58%, 40%)
HSVhsv(236, 74%, 64%)
CMYKcmyk(73.6%, 68.7%, 0%, 36.1%)
CIE-LABlab(28.18, 35.67, -61.15)
CIE-LCHlch(28.18, 70.79, 300.25°)
OKLaboklab(39.55% 0.0061 -0.1768)
OKLCHoklch(39.55% 0.177 272)
XYZxyz(8.7887, 5.5247, 35.2464)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33A3 #A39B2B
analogous
#2B6FA3 #2B33A3 #5F2BA3
triadic
#2B33A3 #A32B33 #33A32B
tetradic
#2B33A3 #A32B6F #A39B2B #2BA35F
square
#2B33A3 #A32B6F #A39B2B #2BA35F
split-complementary
#2B33A3 #A35F2B #6FA32B
monochromatic
#111542 #1E2473 #2B33A3 #3F48CC #6F76D9

Accessibility & contrast

On white

9.98
#2B33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B33A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B33A3
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33A3#FFFFFF#000000##FFFFFF
##2B33A31.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b33a3;
/* rgb */ color: rgb(43, 51, 163);
/* oklch */ color: oklch(39.5% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#776bbf',
    500: '#2b33a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b33a3;
$custom-light: #776bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33a3",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 236,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39548,
    "c": 0.17696,
    "h": 272
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#2B33A3
secondary
#C0BA6A
accent
#D746E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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