#2A33A2#2A33A2

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

Color values

HEX#2A33A2
RGBrgb(42, 51, 162)
HSLhsl(236, 59%, 40%)
HSVhsv(236, 74%, 64%)
CMYKcmyk(74.1%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.03, 35.20, -60.80)
CIE-LCHlch(28.03, 70.25, 300.07°)
OKLaboklab(39.39% 0.0051 -0.1758)
OKLCHoklch(39.39% 0.176 271.7)
XYZxyz(8.6581, 5.4676, 34.7745)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33A2 #A2992A
analogous
#2A6FA2 #2A33A2 #5D2AA2
triadic
#2A33A2 #A22A33 #33A22A
tetradic
#2A33A2 #A22A6F #A2992A #2AA25D
square
#2A33A2 #A22A6F #A2992A #2AA25D
split-complementary
#2A33A2 #A25D2A #6FA22A
monochromatic
#111441 #1D2471 #2A33A2 #3D47CD #6D75D9

Accessibility & contrast

On white

10.03
#2A33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A33A2
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33A2#FFFFFF#000000##FFFFFF
##2A33A21.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a33a2;
/* rgb */ color: rgb(42, 51, 162);
/* oklch */ color: oklch(39.4% 0.176 271.7);
Tailwind
colors: {
  custom: {
    50: '#766bbf',
    500: '#2a33a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a33a2;
$custom-light: #766bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33a2",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 235.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.17591,
    "h": 271.7
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#2A33A2
secondary
#C0B968
accent
#D646E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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