#2B2FAE#2B2FAE

#2B2FAE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.195 H 272.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2B2FAE
RGBrgb(43, 47, 174)
HSLhsl(238, 60%, 43%)
HSVhsv(238, 75%, 68%)
CMYKcmyk(75.3%, 73%, 0%, 31.8%)
CIE-LABlab(28.38, 41.95, -67.44)
CIE-LCHlch(28.38, 79.42, 301.88°)
OKLaboklab(40.02% 0.0068 -0.1952)
OKLCHoklch(40.02% 0.195 272)
XYZxyz(9.6502, 5.6016, 40.6088)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FAE #AEAA2B
analogous
#2B70AE #2B2FAE #692BAE
triadic
#2B2FAE #AE2B2F #2FAE2B
tetradic
#2B2FAE #AE2B70 #AEAA2B #2BAE69
square
#2B2FAE #AE2B70 #AEAA2B #2BAE69
split-complementary
#2B2FAE #AE692B #70AE2B
monochromatic
#13144C #1F227D #2B2FAE #4549D1 #7679DD

Accessibility & contrast

On white

9.90
#2B2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B2FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FAE
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FAE#FFFFFF#000000##FFFFFF
##2B2FAE1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2fae;
/* rgb */ color: rgb(43, 47, 174);
/* oklch */ color: oklch(40.0% 0.195 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a69c7',
    500: '#2b2fae',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fae;
$custom-light: #7a69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fae",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 238.168,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.1953,
    "h": 272
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#2B2FAE
secondary
#C5C270
accent
#DF44E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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