#2B2FB4#2B2FB4

#2B2FB4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.203 H 271.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2B2FB4
RGBrgb(43, 47, 180)
HSLhsl(238, 61%, 44%)
HSVhsv(238, 76%, 71%)
CMYKcmyk(76.1%, 73.9%, 0%, 29.4%)
CIE-LABlab(29.01, 43.98, -69.99)
CIE-LCHlch(29.01, 82.67, 302.14°)
OKLaboklab(40.65% 0.0059 -0.2026)
OKLCHoklch(40.65% 0.203 271.7)
XYZxyz(10.2482, 5.8408, 43.7584)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FB4 #B4B02B
analogous
#2B73B4 #2B2FB4 #6B2BB4
triadic
#2B2FB4 #B42B2F #2FB42B
tetradic
#2B2FB4 #B42B73 #B4B02B #2BB46B
square
#2B2FB4 #B42B73 #B4B02B #2BB46B
split-complementary
#2B2FB4 #B46B2B #73B42B
monochromatic
#131551 #1F2283 #2B2FB4 #494DD3 #7A7DDF

Accessibility & contrast

On white

9.68
#2B2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FB4
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FB4#FFFFFF#000000##FFFFFF
##2B2FB41.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2fb4;
/* rgb */ color: rgb(43, 47, 180);
/* oklch */ color: oklch(40.7% 0.203 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b69cc',
    500: '#2b2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fb4;
$custom-light: #7b69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fb4",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 238.248,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.20271,
    "h": 271.7
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#2B2FB4
secondary
#C7C573
accent
#E043E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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