#2B2EAA#2B2EAA

#2B2EAA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.191 H 272.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2B2EAA
RGBrgb(43, 46, 170)
HSLhsl(239, 60%, 42%)
HSVhsv(239, 75%, 67%)
CMYKcmyk(74.7%, 72.9%, 0%, 33.3%)
CIE-LABlab(27.76, 41.17, -66.07)
CIE-LCHlch(27.76, 77.84, 301.93°)
OKLaboklab(39.46% 0.008 -0.1912)
OKLCHoklch(39.46% 0.191 272.4)
XYZxyz(9.2265, 5.3689, 38.5725)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EAA #AAA72B
analogous
#2B6EAA #2B2EAA #682BAA
triadic
#2B2EAA #AA2B2E #2EAA2B
tetradic
#2B2EAA #AA2B6E #AAA72B #2BAA68
square
#2B2EAA #AA2B6E #AAA72B #2BAA68
split-complementary
#2B2EAA #AA682B #6EAA2B
monochromatic
#121448 #1F2179 #2B2EAA #4346CF #7476DC

Accessibility & contrast

On white

10.13
#2B2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B2EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EAA
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EAA#FFFFFF#000000##FFFFFF
##2B2EAA1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2eaa;
/* rgb */ color: rgb(43, 46, 170);
/* oklch */ color: oklch(39.5% 0.191 272.4);
Tailwind
colors: {
  custom: {
    50: '#7968c4',
    500: '#2b2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eaa;
$custom-light: #7968c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eaa",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 238.583,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.19135,
    "h": 272.4
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#2B2EAA
secondary
#C3C16E
accent
#DF45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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