#2B33A2#2B33A2

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

Color values

HEX#2B33A2
RGBrgb(43, 51, 162)
HSLhsl(236, 58%, 40%)
HSVhsv(236, 73%, 64%)
CMYKcmyk(73.5%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.08, 35.31, -60.70)
CIE-LCHlch(28.08, 70.23, 300.19°)
OKLaboklab(39.45% 0.0062 -0.1755)
OKLCHoklch(39.45% 0.176 272)
XYZxyz(8.6995, 5.4890, 34.7764)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33A2 #A29A2B
analogous
#2B6FA2 #2B33A2 #5E2BA2
triadic
#2B33A2 #A22B33 #33A22B
tetradic
#2B33A2 #A22B6F #A29A2B #2BA25E
square
#2B33A2 #A22B6F #A29A2B #2BA25E
split-complementary
#2B33A2 #A25E2B #6FA22B
monochromatic
#111541 #1E2472 #2B33A2 #3E48CC #6F76D9

Accessibility & contrast

On white

10.01
#2B33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B33A2
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33A2#FFFFFF#000000##FFFFFF
##2B33A21.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b33a2;
/* rgb */ color: rgb(43, 51, 162);
/* oklch */ color: oklch(39.5% 0.176 272.0);
Tailwind
colors: {
  custom: {
    50: '#776bbf',
    500: '#2b33a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b33a2;
$custom-light: #776bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33a2",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 235.966,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.17565,
    "h": 272
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#2B33A2
secondary
#C0BA69
accent
#D747E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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