#2B3390#2B3390

#2B3390 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.151 H 272.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2B3390
RGBrgb(43, 51, 144)
HSLhsl(235, 54%, 37%)
HSVhsv(235, 70%, 56%)
CMYKcmyk(70.1%, 64.6%, 0%, 43.5%)
CIE-LABlab(26.43, 28.79, -52.41)
CIE-LCHlch(26.43, 59.79, 298.78°)
OKLaboklab(37.74% 0.0077 -0.1512)
OKLCHoklch(37.74% 0.151 272.9)
XYZxyz(7.2124, 4.8942, 26.9447)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3390 #90882B
analogous
#2B6690 #2B3390 #562B90
triadic
#2B3390 #902B33 #33902B
tetradic
#2B3390 #902B66 #90882B #2B9056
square
#2B3390 #902B66 #90882B #2B9056
split-complementary
#2B3390 #90562B #66902B
monochromatic
#0F1232 #1D2261 #2B3390 #3944BF #656DD1

Accessibility & contrast

On white

10.61
#2B3390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3390
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3390#FFFFFF#000000##FFFFFF
##2B33901.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3390;
/* rgb */ color: rgb(43, 51, 144);
/* oklch */ color: oklch(37.7% 0.151 272.9);
Tailwind
colors: {
  custom: {
    50: '#726ab1',
    500: '#2b3390',
    950: '#000000',
  },
}
SCSS
$custom: #2b3390;
$custom-light: #726ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3390",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 235.248,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37736,
    "c": 0.15145,
    "h": 272.9
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#2B3390
secondary
#B7B060
accent
#D24ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3390

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

Preview Lab → · Contrast checker → · Palette generator →

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