#2B3193#2B3193

#2B3193 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.158 H 273.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2B3193
RGBrgb(43, 49, 147)
HSLhsl(237, 55%, 37%)
HSVhsv(237, 71%, 58%)
CMYKcmyk(70.7%, 66.7%, 0%, 42.4%)
CIE-LABlab(26.20, 31.19, -54.63)
CIE-LCHlch(26.20, 62.91, 299.73°)
OKLaboklab(37.65% 0.009 -0.1578)
OKLCHoklch(37.65% 0.158 273.3)
XYZxyz(7.3593, 4.8161, 28.1399)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3193 #938D2B
analogous
#2B6593 #2B3193 #592B93
triadic
#2B3193 #932B31 #31932B
tetradic
#2B3193 #932B65 #938D2B #2B9359
square
#2B3193 #932B65 #938D2B #2B9359
split-complementary
#2B3193 #93592B #65932B
monochromatic
#0F1134 #1D2164 #2B3193 #3941C2 #666CD2

Accessibility & contrast

On white

10.70
#2B3193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B3193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3193
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3193#FFFFFF#000000##FFFFFF
##2B31931.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3193;
/* rgb */ color: rgb(43, 49, 147);
/* oklch */ color: oklch(37.7% 0.158 273.3);
Tailwind
colors: {
  custom: {
    50: '#7369b4',
    500: '#2b3193',
    950: '#000000',
  },
}
SCSS
$custom: #2b3193;
$custom-light: #7369b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3193",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 236.538,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37654,
    "c": 0.15803,
    "h": 273.3
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#2B3193
secondary
#B9B461
accent
#D64ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3193

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

Preview Lab → · Contrast checker → · Palette generator →

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