#2B33A9#2B33A9

#2B33A9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.185 H 271.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2B33A9
RGBrgb(43, 51, 169)
HSLhsl(236, 59%, 42%)
HSVhsv(236, 75%, 66%)
CMYKcmyk(74.6%, 69.8%, 0%, 33.7%)
CIE-LABlab(28.76, 37.80, -63.82)
CIE-LCHlch(28.76, 74.17, 300.64°)
OKLaboklab(40.14% 0.0054 -0.1846)
OKLCHoklch(40.14% 0.185 271.7)
XYZxyz(9.3391, 5.7448, 38.1451)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33A9 #A9A12B
analogous
#2B72A9 #2B33A9 #622BA9
triadic
#2B33A9 #A92B33 #33A92B
tetradic
#2B33A9 #A92B72 #A9A12B #2BA962
square
#2B33A9 #A92B72 #A9A12B #2BA962
split-complementary
#2B33A9 #A9622B #72A92B
monochromatic
#121647 #1F2478 #2B33A9 #424BCF #737ADB

Accessibility & contrast

On white

9.77
#2B33A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B33A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B33A9
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33A9#FFFFFF#000000##FFFFFF
##2B33A91.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b33a9;
/* rgb */ color: rgb(43, 51, 169);
/* oklch */ color: oklch(40.1% 0.185 271.7);
Tailwind
colors: {
  custom: {
    50: '#786bc4',
    500: '#2b33a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b33a9;
$custom-light: #786bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33a9",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 236.19,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40143,
    "c": 0.18472,
    "h": 271.7
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#2B33A9
secondary
#C3BD6D
accent
#D945E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B33A9

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

Preview Lab → · Contrast checker → · Palette generator →

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