#2B32AF#2B32AF

#2B32AF is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.193 H 271.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2B32AF
RGBrgb(43, 50, 175)
HSLhsl(237, 61%, 43%)
HSVhsv(237, 75%, 69%)
CMYKcmyk(75.4%, 71.4%, 0%, 31.4%)
CIE-LABlab(29.13, 40.50, -66.81)
CIE-LCHlch(29.13, 78.13, 301.23°)
OKLaboklab(40.59% 0.0052 -0.1933)
OKLCHoklch(40.59% 0.193 271.5)
XYZxyz(9.8721, 5.8889, 41.1655)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32AF #AFA82B
analogous
#2B74AF #2B32AF #662BAF
triadic
#2B32AF #AF2B32 #32AF2B
tetradic
#2B32AF #AF2B74 #AFA82B #2BAF66
square
#2B32AF #AF2B74 #AFA82B #2BAF66
split-complementary
#2B32AF #AF662B #74AF2B
monochromatic
#13164D #1F247E #2B32AF #464DD1 #777CDE

Accessibility & contrast

On white

9.64
#2B32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32AF
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32AF#FFFFFF#000000##FFFFFF
##2B32AF1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b32af;
/* rgb */ color: rgb(43, 50, 175);
/* oklch */ color: oklch(40.6% 0.193 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a6bc8',
    500: '#2b32af',
    950: '#000000',
  },
}
SCSS
$custom: #2b32af;
$custom-light: #7a6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32af",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 236.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40589,
    "c": 0.19342,
    "h": 271.5
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#2B32AF
secondary
#C5C170
accent
#DB44E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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