#2B3190#2B3190

#2B3190 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.154 H 273.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2B3190
RGBrgb(43, 49, 144)
HSLhsl(236, 54%, 37%)
HSVhsv(236, 70%, 56%)
CMYKcmyk(70.1%, 66%, 0%, 43.5%)
CIE-LABlab(25.93, 30.10, -53.23)
CIE-LCHlch(25.93, 61.15, 299.49°)
OKLaboklab(37.37% 0.0092 -0.1537)
OKLCHoklch(37.37% 0.154 273.4)
XYZxyz(7.1269, 4.7232, 26.9162)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3190 #908A2B
analogous
#2B6490 #2B3190 #582B90
triadic
#2B3190 #902B31 #31902B
tetradic
#2B3190 #902B64 #908A2B #2B9058
square
#2B3190 #902B64 #908A2B #2B9058
split-complementary
#2B3190 #90582B #64902B
monochromatic
#0F1132 #1D2161 #2B3190 #3941BF #656BD1

Accessibility & contrast

On white

10.80
#2B3190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B3190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3190
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3190#FFFFFF#000000##FFFFFF
##2B31901.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3190;
/* rgb */ color: rgb(43, 49, 144);
/* oklch */ color: oklch(37.4% 0.154 273.4);
Tailwind
colors: {
  custom: {
    50: '#7369b1',
    500: '#2b3190',
    950: '#000000',
  },
}
SCSS
$custom: #2b3190;
$custom-light: #7369b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3190",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 236.436,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3737,
    "c": 0.15394,
    "h": 273.4
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#2B3190
secondary
#B7B260
accent
#D54ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3190

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

Preview Lab → · Contrast checker → · Palette generator →

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