#2B4091#2B4091

#2B4091 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.136 H 268.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2B4091
RGBrgb(43, 64, 145)
HSLhsl(228, 54%, 37%)
HSVhsv(228, 70%, 57%)
CMYKcmyk(70.3%, 55.9%, 0%, 43.1%)
CIE-LABlab(29.97, 20.41, -47.26)
CIE-LCHlch(29.97, 51.48, 293.36°)
OKLaboklab(40.39% -0.0032 -0.136)
OKLCHoklch(40.39% 0.136 268.6)
XYZxyz(7.9387, 6.2239, 27.5655)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4091 #917C2B
analogous
#2B7391 #2B4091 #492B91
triadic
#2B4091 #912B40 #40912B
tetradic
#2B4091 #912B73 #917C2B #2B9149
square
#2B4091 #912B73 #917C2B #2B9149
split-complementary
#2B4091 #91492B #73912B
monochromatic
#0F1633 #1D2B62 #2B4091 #3955C0 #657BD1

Accessibility & contrast

On white

9.35
#2B4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4091
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4091#FFFFFF#000000##FFFFFF
##2B40911.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4091;
/* rgb */ color: rgb(43, 64, 145);
/* oklch */ color: oklch(40.4% 0.136 268.6);
Tailwind
colors: {
  custom: {
    50: '#7274b2',
    500: '#2b4091',
    950: '#000000',
  },
}
SCSS
$custom: #2b4091;
$custom-light: #7274b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4091",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 227.647,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40394,
    "c": 0.13602,
    "h": 268.6
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#2B4091
secondary
#B8A660
accent
#BF4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4091

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

Preview Lab → · Contrast checker → · Palette generator →

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