#2B4290#2B4290

#2B4290 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.132 H 267.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2B4290
RGBrgb(43, 66, 144)
HSLhsl(226, 54%, 37%)
HSVhsv(226, 70%, 56%)
CMYKcmyk(70.1%, 54.2%, 0%, 43.5%)
CIE-LABlab(30.46, 18.67, -45.86)
CIE-LCHlch(30.46, 49.52, 292.15°)
OKLaboklab(40.74% -0.0051 -0.1318)
OKLCHoklch(40.74% 0.132 267.8)
XYZxyz(7.9768, 6.4229, 27.1995)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4290 #90792B
analogous
#2B7590 #2B4290 #472B90
triadic
#2B4290 #902B42 #42902B
tetradic
#2B4290 #902B75 #90792B #2B9047
square
#2B4290 #902B75 #90792B #2B9047
split-complementary
#2B4290 #90472B #75902B
monochromatic
#0F1732 #1D2C61 #2B4290 #3958BF #657DD1

Accessibility & contrast

On white

9.19
#2B4290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B4290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4290
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4290#FFFFFF#000000##FFFFFF
##2B42901.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4290;
/* rgb */ color: rgb(43, 66, 144);
/* oklch */ color: oklch(40.7% 0.132 267.8);
Tailwind
colors: {
  custom: {
    50: '#7176b1',
    500: '#2b4290',
    950: '#000000',
  },
}
SCSS
$custom: #2b4290;
$custom-light: #7176b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4290",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 226.337,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.13193,
    "h": 267.8
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#2B4290
secondary
#B7A360
accent
#BC4ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4290

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

Preview Lab → · Contrast checker → · Palette generator →

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