#2B33AF#2B33AF

#2B33AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.192 H 271.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2B33AF
RGBrgb(43, 51, 175)
HSLhsl(236, 61%, 43%)
HSVhsv(236, 75%, 69%)
CMYKcmyk(75.4%, 70.9%, 0%, 31.4%)
CIE-LABlab(29.35, 39.90, -66.44)
CIE-LCHlch(29.35, 77.50, 300.98°)
OKLaboklab(40.75% 0.0047 -0.1923)
OKLCHoklch(40.75% 0.192 271.4)
XYZxyz(9.9153, 5.9753, 41.1799)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33AF #AFA72B
analogous
#2B75AF #2B33AF #652BAF
triadic
#2B33AF #AF2B33 #33AF2B
tetradic
#2B33AF #AF2B75 #AFA72B #2BAF65
square
#2B33AF #AF2B75 #AFA72B #2BAF65
split-complementary
#2B33AF #AF652B #75AF2B
monochromatic
#13164D #1F257E #2B33AF #464ED1 #777DDE

Accessibility & contrast

On white

9.57
#2B33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B33AF
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33AF#FFFFFF#000000##FFFFFF
##2B33AF1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b33af;
/* rgb */ color: rgb(43, 51, 175);
/* oklch */ color: oklch(40.7% 0.192 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a6bc8',
    500: '#2b33af',
    950: '#000000',
  },
}
SCSS
$custom: #2b33af;
$custom-light: #7a6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33af",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 236.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40747,
    "c": 0.19236,
    "h": 271.4
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#2B33AF
secondary
#C5C070
accent
#DA44E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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