#2B4088#2B4088

#2B4088 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.123 H 268.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2B4088
RGBrgb(43, 64, 136)
HSLhsl(226, 52%, 35%)
HSVhsv(226, 68%, 53%)
CMYKcmyk(68.4%, 52.9%, 0%, 46.7%)
CIE-LABlab(29.30, 16.99, -42.79)
CIE-LCHlch(29.30, 46.04, 291.65°)
OKLaboklab(39.68% -0.004 -0.1228)
OKLCHoklch(39.68% 0.123 268.1)
XYZxyz(7.2721, 5.9573, 24.0544)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4088 #88732B
analogous
#2B6E88 #2B4088 #452B88
triadic
#2B4088 #882B40 #40882B
tetradic
#2B4088 #882B6E #88732B #2B8845
square
#2B4088 #882B6E #88732B #2B8845
split-complementary
#2B4088 #88452B #6E882B
monochromatic
#0E142B #1C2A5A #2B4088 #3A56B6 #6179CD

Accessibility & contrast

On white

9.58
#2B4088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B4088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4088
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4088#FFFFFF#000000##FFFFFF
##2B40881.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4088;
/* rgb */ color: rgb(43, 64, 136);
/* oklch */ color: oklch(39.7% 0.123 268.1);
Tailwind
colors: {
  custom: {
    50: '#7074ab',
    500: '#2b4088',
    950: '#000000',
  },
}
SCSS
$custom: #2b4088;
$custom-light: #7074ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4088",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 226.452,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39679,
    "c": 0.1229,
    "h": 268.1
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#2B4088
secondary
#B39F5C
accent
#BB4CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4088

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

Preview Lab → · Contrast checker → · Palette generator →

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