#2A33B8#2A33B8

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

Color values

HEX#2A33B8
RGBrgb(42, 51, 184)
HSLhsl(236, 63%, 44%)
HSVhsv(236, 77%, 72%)
CMYKcmyk(77.2%, 72.3%, 0%, 27.8%)
CIE-LABlab(30.20, 42.93, -70.40)
CIE-LCHlch(30.20, 82.45, 301.37°)
OKLaboklab(41.62% 0.0024 -0.2038)
OKLCHoklch(41.62% 0.204 270.7)
XYZxyz(10.7875, 6.3194, 45.9893)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33B8 #B8AF2A
analogous
#2A7AB8 #2A33B8 #682AB8
triadic
#2A33B8 #B82A33 #33B82A
tetradic
#2A33B8 #B82A7A #B8AF2A #2AB868
square
#2A33B8 #B82A7A #B8AF2A #2AB868
split-complementary
#2A33B8 #B8682A #7AB82A
monochromatic
#131754 #1F2586 #2A33B8 #4A52D6 #7B82E1

Accessibility & contrast

On white

9.27
#2A33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A33B8
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33B8#FFFFFF#000000##FFFFFF
##2A33B81.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a33b8;
/* rgb */ color: rgb(42, 51, 184);
/* oklch */ color: oklch(41.6% 0.204 270.7);
Tailwind
colors: {
  custom: {
    50: '#7c6ccf',
    500: '#2a33b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a33b8;
$custom-light: #7c6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33b8",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 236.197,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.20384,
    "h": 270.7
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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