#2B2FAC#2B2FAC

#2B2FAC is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.193 H 272.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2B2FAC
RGBrgb(43, 47, 172)
HSLhsl(238, 60%, 42%)
HSVhsv(238, 75%, 67%)
CMYKcmyk(75%, 72.7%, 0%, 32.5%)
CIE-LABlab(28.18, 41.26, -66.58)
CIE-LCHlch(28.18, 78.33, 301.79°)
OKLaboklab(39.82% 0.0071 -0.1927)
OKLCHoklch(39.82% 0.193 272.1)
XYZxyz(9.4567, 5.5242, 39.5896)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FAC #ACA82B
analogous
#2B6FAC #2B2FAC #682BAC
triadic
#2B2FAC #AC2B2F #2FAC2B
tetradic
#2B2FAC #AC2B6F #ACA82B #2BAC68
square
#2B2FAC #AC2B6F #ACA82B #2BAC68
split-complementary
#2B2FAC #AC682B #6FAC2B
monochromatic
#13144A #1F227B #2B2FAC #4448D0 #7578DC

Accessibility & contrast

On white

9.98
#2B2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B2FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FAC
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FAC#FFFFFF#000000##FFFFFF
##2B2FAC1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2fac;
/* rgb */ color: rgb(43, 47, 172);
/* oklch */ color: oklch(39.8% 0.193 272.1);
Tailwind
colors: {
  custom: {
    50: '#7969c6',
    500: '#2b2fac',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fac;
$custom-light: #7969c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fac",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 238.14,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39816,
    "c": 0.1928,
    "h": 272.1
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#2B2FAC
secondary
#C4C16F
accent
#DE45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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