#2B3290#2B3290

#2B3290 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.153 H 273.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2B3290
RGBrgb(43, 50, 144)
HSLhsl(236, 54%, 37%)
HSVhsv(236, 70%, 56%)
CMYKcmyk(70.1%, 65.3%, 0%, 43.5%)
CIE-LABlab(26.18, 29.45, -52.82)
CIE-LCHlch(26.18, 60.47, 299.14°)
OKLaboklab(37.55% 0.0085 -0.1525)
OKLCHoklch(37.55% 0.153 273.2)
XYZxyz(7.1692, 4.8077, 26.9303)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3290 #90892B
analogous
#2B6590 #2B3290 #572B90
triadic
#2B3290 #902B32 #32902B
tetradic
#2B3290 #902B65 #90892B #2B9057
square
#2B3290 #902B65 #90892B #2B9057
split-complementary
#2B3290 #90572B #65902B
monochromatic
#0F1132 #1D2261 #2B3290 #3942BF #656CD1

Accessibility & contrast

On white

10.71
#2B3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3290
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3290#FFFFFF#000000##FFFFFF
##2B32901.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3290;
/* rgb */ color: rgb(43, 50, 144);
/* oklch */ color: oklch(37.6% 0.153 273.2);
Tailwind
colors: {
  custom: {
    50: '#726ab1',
    500: '#2b3290',
    950: '#000000',
  },
}
SCSS
$custom: #2b3290;
$custom-light: #726ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3290",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 235.842,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.1527,
    "h": 273.2
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#2B3290
secondary
#B7B160
accent
#D34ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3290

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

Preview Lab → · Contrast checker → · Palette generator →

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