#2B3493#2B3493

#2B3493 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.154 H 272.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2B3493
RGBrgb(43, 52, 147)
HSLhsl(235, 55%, 37%)
HSVhsv(235, 71%, 58%)
CMYKcmyk(70.7%, 64.6%, 0%, 42.4%)
CIE-LABlab(26.95, 29.23, -53.41)
CIE-LCHlch(26.95, 60.89, 298.69°)
OKLaboklab(38.2% 0.0068 -0.1542)
OKLCHoklch(38.2% 0.154 272.5)
XYZxyz(7.4889, 5.0754, 28.1831)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3493 #938A2B
analogous
#2B6893 #2B3493 #562B93
triadic
#2B3493 #932B34 #34932B
tetradic
#2B3493 #932B68 #938A2B #2B9356
square
#2B3493 #932B68 #938A2B #2B9356
split-complementary
#2B3493 #93562B #68932B
monochromatic
#0F1334 #1D2364 #2B3493 #3945C2 #666FD2

Accessibility & contrast

On white

10.42
#2B3493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B3493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3493
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3493#FFFFFF#000000##FFFFFF
##2B34931.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3493;
/* rgb */ color: rgb(43, 52, 147);
/* oklch */ color: oklch(38.2% 0.154 272.5);
Tailwind
colors: {
  custom: {
    50: '#736bb4',
    500: '#2b3493',
    950: '#000000',
  },
}
SCSS
$custom: #2b3493;
$custom-light: #736bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3493",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 147
  },
  "hsl": {
    "h": 234.808,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38198,
    "c": 0.15433,
    "h": 272.5
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#2B3493
secondary
#B9B161
accent
#D14ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3493

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

Preview Lab → · Contrast checker → · Palette generator →

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