#2B3790#2B3790

#2B3790 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.146 H 271.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2B3790
RGBrgb(43, 55, 144)
HSLhsl(233, 54%, 37%)
HSVhsv(233, 70%, 56%)
CMYKcmyk(70.1%, 61.8%, 0%, 43.5%)
CIE-LABlab(27.46, 26.12, -50.73)
CIE-LCHlch(27.46, 57.06, 297.25°)
OKLaboklab(38.5% 0.0045 -0.1463)
OKLCHoklch(38.5% 0.146 271.8)
XYZxyz(7.3948, 5.2589, 27.0055)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3790 #90842B
analogous
#2B6A90 #2B3790 #522B90
triadic
#2B3790 #902B37 #37902B
tetradic
#2B3790 #902B6A #90842B #2B9052
square
#2B3790 #902B6A #90842B #2B9052
split-complementary
#2B3790 #90522B #6A902B
monochromatic
#0F1332 #1D2561 #2B3790 #3949BF #6571D1

Accessibility & contrast

On white

10.23
#2B3790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B3790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3790
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3790#FFFFFF#000000##FFFFFF
##2B37901.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3790;
/* rgb */ color: rgb(43, 55, 144);
/* oklch */ color: oklch(38.5% 0.146 271.8);
Tailwind
colors: {
  custom: {
    50: '#726db1',
    500: '#2b3790',
    950: '#000000',
  },
}
SCSS
$custom: #2b3790;
$custom-light: #726db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3790",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 232.871,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.14635,
    "h": 271.8
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#2B3790
secondary
#B7AD60
accent
#CC4ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3790

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

Preview Lab → · Contrast checker → · Palette generator →

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