#2B3E88#2B3E88

#2B3E88 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.126 H 269.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2B3E88
RGBrgb(43, 62, 136)
HSLhsl(228, 52%, 35%)
HSVhsv(228, 68%, 53%)
CMYKcmyk(68.4%, 54.4%, 0%, 46.7%)
CIE-LABlab(28.74, 18.35, -43.71)
CIE-LCHlch(28.74, 47.41, 292.78°)
OKLaboklab(39.25% -0.0021 -0.1256)
OKLCHoklch(39.25% 0.126 269.1)
XYZxyz(7.1613, 5.7357, 24.0175)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E88 #88752B
analogous
#2B6C88 #2B3E88 #472B88
triadic
#2B3E88 #882B3E #3E882B
tetradic
#2B3E88 #882B6C #88752B #2B8847
square
#2B3E88 #882B6C #88752B #2B8847
split-complementary
#2B3E88 #88472B #6C882B
monochromatic
#0E142B #1C295A #2B3E88 #3A53B6 #6177CD

Accessibility & contrast

On white

9.78
#2B3E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B3E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E88
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E88#FFFFFF#000000##FFFFFF
##2B3E881.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3e88;
/* rgb */ color: rgb(43, 62, 136);
/* oklch */ color: oklch(39.2% 0.126 269.1);
Tailwind
colors: {
  custom: {
    50: '#7072ab',
    500: '#2b3e88',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e88;
$custom-light: #7072ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e88",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 227.742,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39249,
    "c": 0.12558,
    "h": 269.1
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#2B3E88
secondary
#B3A15C
accent
#BE4CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B3E88

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

Preview Lab → · Contrast checker → · Palette generator →

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