#2B3293#2B3293

#2B3293 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.157 H 273.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2B3293
RGBrgb(43, 50, 147)
HSLhsl(236, 55%, 37%)
HSVhsv(236, 71%, 58%)
CMYKcmyk(70.7%, 66%, 0%, 42.4%)
CIE-LABlab(26.45, 30.54, -54.23)
CIE-LCHlch(26.45, 62.24, 299.39°)
OKLaboklab(37.83% 0.0083 -0.1566)
OKLCHoklch(37.83% 0.157 273)
XYZxyz(7.4016, 4.9007, 28.1540)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3293 #938C2B
analogous
#2B6693 #2B3293 #582B93
triadic
#2B3293 #932B32 #32932B
tetradic
#2B3293 #932B66 #938C2B #2B9358
square
#2B3293 #932B66 #938C2B #2B9358
split-complementary
#2B3293 #93582B #66932B
monochromatic
#0F1234 #1D2264 #2B3293 #3942C2 #666DD2

Accessibility & contrast

On white

10.60
#2B3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3293
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3293#FFFFFF#000000##FFFFFF
##2B32931.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3293;
/* rgb */ color: rgb(43, 50, 147);
/* oklch */ color: oklch(37.8% 0.157 273.0);
Tailwind
colors: {
  custom: {
    50: '#736ab4',
    500: '#2b3293',
    950: '#000000',
  },
}
SCSS
$custom: #2b3293;
$custom-light: #736ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3293",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 235.962,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37833,
    "c": 0.1568,
    "h": 273
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#2B3293
secondary
#B9B361
accent
#D44ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3293

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

Preview Lab → · Contrast checker → · Palette generator →

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