#2B2FB0#2B2FB0

#2B2FB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.198 H 271.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2B2FB0
RGBrgb(43, 47, 176)
HSLhsl(238, 61%, 43%)
HSVhsv(238, 76%, 69%)
CMYKcmyk(75.6%, 73.3%, 0%, 31%)
CIE-LABlab(28.59, 42.63, -68.29)
CIE-LCHlch(28.59, 80.51, 301.97°)
OKLaboklab(40.23% 0.0065 -0.1977)
OKLCHoklch(40.23% 0.198 271.9)
XYZxyz(9.8466, 5.6802, 41.6433)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FB0 #B0AC2B
analogous
#2B72B0 #2B2FB0 #692BB0
triadic
#2B2FB0 #B02B2F #2FB02B
tetradic
#2B2FB0 #B02B72 #B0AC2B #2BB069
square
#2B2FB0 #B02B72 #B0AC2B #2BB069
split-complementary
#2B2FB0 #B0692B #72B02B
monochromatic
#13154E #1F227F #2B2FB0 #464BD2 #787BDE

Accessibility & contrast

On white

9.83
#2B2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B2FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FB0
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FB0#FFFFFF#000000##FFFFFF
##2B2FB01.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2fb0;
/* rgb */ color: rgb(43, 47, 176);
/* oklch */ color: oklch(40.2% 0.198 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a69c9',
    500: '#2b2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fb0;
$custom-light: #7a69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fb0",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 238.195,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.19778,
    "h": 271.9
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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