#2B2FB2#2B2FB2

#2B2FB2 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.4% C 0.200 H 271.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2B2FB2
RGBrgb(43, 47, 178)
HSLhsl(238, 61%, 43%)
HSVhsv(238, 76%, 70%)
CMYKcmyk(75.8%, 73.6%, 0%, 30.2%)
CIE-LABlab(28.80, 43.31, -69.15)
CIE-LCHlch(28.80, 81.59, 302.06°)
OKLaboklab(40.44% 0.0062 -0.2001)
OKLCHoklch(40.44% 0.2 271.8)
XYZxyz(10.0459, 5.7599, 42.6932)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FB2 #B2AE2B
analogous
#2B72B2 #2B2FB2 #6A2BB2
triadic
#2B2FB2 #B22B2F #2FB22B
tetradic
#2B2FB2 #B22B72 #B2AE2B #2BB26A
square
#2B2FB2 #B22B72 #B2AE2B #2BB26A
split-complementary
#2B2FB2 #B26A2B #72B22B
monochromatic
#13154F #1F2281 #2B2FB2 #484CD3 #797CDF

Accessibility & contrast

On white

9.76
#2B2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B2FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FB2
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FB2#FFFFFF#000000##FFFFFF
##2B2FB21.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2fb2;
/* rgb */ color: rgb(43, 47, 178);
/* oklch */ color: oklch(40.4% 0.200 271.8);
Tailwind
colors: {
  custom: {
    50: '#7b69ca',
    500: '#2b2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fb2;
$custom-light: #7b69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fb2",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 238.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40443,
    "c": 0.20025,
    "h": 271.8
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#2B2FB2
secondary
#C7C472
accent
#DF44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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