#2A33A3#2A33A3

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

Color values

HEX#2A33A3
RGBrgb(42, 51, 163)
HSLhsl(236, 59%, 40%)
HSVhsv(236, 74%, 64%)
CMYKcmyk(74.2%, 68.7%, 0%, 36.1%)
CIE-LABlab(28.12, 35.56, -61.25)
CIE-LCHlch(28.12, 70.82, 300.14°)
OKLaboklab(39.49% 0.005 -0.1771)
OKLCHoklch(39.49% 0.177 271.6)
XYZxyz(8.7473, 5.5033, 35.2445)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33A3 #A39A2A
analogous
#2A70A3 #2A33A3 #5D2AA3
triadic
#2A33A3 #A32A33 #33A32A
tetradic
#2A33A3 #A32A70 #A39A2A #2AA35D
square
#2A33A3 #A32A70 #A39A2A #2AA35D
split-complementary
#2A33A3 #A35D2A #70A32A
monochromatic
#111542 #1D2472 #2A33A3 #3D48CD #6E76DA

Accessibility & contrast

On white

10.00
#2A33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A33A3
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33A3#FFFFFF#000000##FFFFFF
##2A33A31.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a33a3;
/* rgb */ color: rgb(42, 51, 163);
/* oklch */ color: oklch(39.5% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#766bbf',
    500: '#2a33a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a33a3;
$custom-light: #766bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33a3",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 235.537,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.17722,
    "h": 271.6
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#2A33A3
secondary
#C0BA68
accent
#D746E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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