#2B3088#2B3088

#2B3088 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.144 H 274.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2B3088
RGBrgb(43, 48, 136)
HSLhsl(237, 52%, 35%)
HSVhsv(237, 68%, 53%)
CMYKcmyk(68.4%, 64.7%, 0%, 46.7%)
CIE-LABlab(24.97, 27.85, -49.84)
CIE-LCHlch(24.97, 57.09, 299.19°)
OKLaboklab(36.44% 0.0106 -0.1437)
OKLCHoklch(36.44% 0.144 274.2)
XYZxyz(6.4957, 4.4045, 23.7956)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3088 #88832B
analogous
#2B5F88 #2B3088 #542B88
triadic
#2B3088 #882B30 #30882B
tetradic
#2B3088 #882B5F #88832B #2B8854
square
#2B3088 #882B5F #88832B #2B8854
split-complementary
#2B3088 #88542B #5F882B
monochromatic
#0E0F2B #1C205A #2B3088 #3A40B6 #6166CD

Accessibility & contrast

On white

11.16
#2B3088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B3088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3088
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3088#FFFFFF#000000##FFFFFF
##2B30881.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3088;
/* rgb */ color: rgb(43, 48, 136);
/* oklch */ color: oklch(36.4% 0.144 274.2);
Tailwind
colors: {
  custom: {
    50: '#7168ab',
    500: '#2b3088',
    950: '#000000',
  },
}
SCSS
$custom: #2b3088;
$custom-light: #7168ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3088",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 136
  },
  "hsl": {
    "h": 236.774,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36442,
    "c": 0.14412,
    "h": 274.2
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#2B3088
secondary
#B3AE5C
accent
#D44CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B3088

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

Preview Lab → · Contrast checker → · Palette generator →

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