#2A33B7#2A33B7

#2A33B7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.5% C 0.203 H 270.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2A33B7
RGBrgb(42, 51, 183)
HSLhsl(236, 63%, 44%)
HSVhsv(236, 77%, 72%)
CMYKcmyk(77%, 72.1%, 0%, 28.2%)
CIE-LABlab(30.10, 42.58, -69.97)
CIE-LCHlch(30.10, 81.91, 301.32°)
OKLaboklab(41.51% 0.0026 -0.2026)
OKLCHoklch(41.51% 0.203 270.7)
XYZxyz(10.6830, 6.2776, 45.4392)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33B7 #B7AE2A
analogous
#2A7AB7 #2A33B7 #682AB7
triadic
#2A33B7 #B72A33 #33B72A
tetradic
#2A33B7 #B72A7A #B7AE2A #2AB768
square
#2A33B7 #B72A7A #B7AE2A #2AB768
split-complementary
#2A33B7 #B7682A #7AB72A
monochromatic
#131753 #1F2585 #2A33B7 #4952D5 #7B81E1

Accessibility & contrast

On white

9.31
#2A33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A33B7
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33B7#FFFFFF#000000##FFFFFF
##2A33B71.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a33b7;
/* rgb */ color: rgb(42, 51, 183);
/* oklch */ color: oklch(41.5% 0.203 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b6cce',
    500: '#2a33b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a33b7;
$custom-light: #7b6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33b7",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 236.17,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41514,
    "c": 0.20262,
    "h": 270.7
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#2A33B7
secondary
#C9C374
accent
#DB42E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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