#2B2FA0#2B2FA0

#2B2FA0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.178 H 272.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2B2FA0
RGBrgb(43, 47, 160)
HSLhsl(238, 58%, 40%)
HSVhsv(238, 73%, 63%)
CMYKcmyk(73.1%, 70.6%, 0%, 37.3%)
CIE-LABlab(26.97, 37.10, -61.32)
CIE-LCHlch(26.97, 71.67, 301.17°)
OKLaboklab(38.59% 0.0089 -0.1773)
OKLCHoklch(38.59% 0.178 272.9)
XYZxyz(8.3558, 5.0838, 33.7918)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FA0 #A09C2B
analogous
#2B69A0 #2B2FA0 #622BA0
triadic
#2B2FA0 #A02B2F #2FA02B
tetradic
#2B2FA0 #A02B69 #A09C2B #2BA062
square
#2B2FA0 #A02B69 #A09C2B #2BA062
split-complementary
#2B2FA0 #A0622B #69A02B
monochromatic
#111340 #1E2170 #2B2FA0 #3D42CB #6E71D8

Accessibility & contrast

On white

10.41
#2B2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B2FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FA0
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FA0#FFFFFF#000000##FFFFFF
##2B2FA01.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2fa0;
/* rgb */ color: rgb(43, 47, 160);
/* oklch */ color: oklch(38.6% 0.178 272.9);
Tailwind
colors: {
  custom: {
    50: '#7768bd',
    500: '#2b2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fa0;
$custom-light: #7768bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fa0",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 237.949,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38587,
    "c": 0.17756,
    "h": 272.9
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#2B2FA0
secondary
#BFBC68
accent
#DC47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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