#2B4288#2B4288

#2B4288 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.120 H 267.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2B4288
RGBrgb(43, 66, 136)
HSLhsl(225, 52%, 35%)
HSVhsv(225, 68%, 53%)
CMYKcmyk(68.4%, 51.5%, 0%, 46.7%)
CIE-LABlab(29.88, 15.62, -41.87)
CIE-LCHlch(29.88, 44.69, 290.46°)
OKLaboklab(40.12% -0.006 -0.1201)
OKLCHoklch(40.12% 0.12 267.2)
XYZxyz(7.3869, 6.1869, 24.0927)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4288 #88712B
analogous
#2B7188 #2B4288 #422B88
triadic
#2B4288 #882B42 #42882B
tetradic
#2B4288 #882B71 #88712B #2B8842
square
#2B4288 #882B71 #88712B #2B8842
split-complementary
#2B4288 #88422B #71882B
monochromatic
#0E152B #1C2B5A #2B4288 #3A59B6 #617BCD

Accessibility & contrast

On white

9.39
#2B4288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B4288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4288
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4288#FFFFFF#000000##FFFFFF
##2B42881.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4288;
/* rgb */ color: rgb(43, 66, 136);
/* oklch */ color: oklch(40.1% 0.120 267.2);
Tailwind
colors: {
  custom: {
    50: '#7075ab',
    500: '#2b4288',
    950: '#000000',
  },
}
SCSS
$custom: #2b4288;
$custom-light: #7075ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4288",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 225.161,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.12022,
    "h": 267.2
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#2B4288
secondary
#B39D5C
accent
#B84CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4288

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

Preview Lab → · Contrast checker → · Palette generator →

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