#2B4187#2B4187

#2B4187 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.120 H 267.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2B4187
RGBrgb(43, 65, 135)
HSLhsl(226, 52%, 35%)
HSVhsv(226, 68%, 53%)
CMYKcmyk(68.1%, 51.9%, 0%, 47.1%)
CIE-LABlab(29.52, 15.92, -41.83)
CIE-LCHlch(29.52, 44.75, 290.84°)
OKLaboklab(39.82% -0.0051 -0.12)
OKLCHoklch(39.82% 0.12 267.6)
XYZxyz(7.2582, 6.0428, 23.7008)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4187 #87712B
analogous
#2B6F87 #2B4187 #432B87
triadic
#2B4187 #872B41 #41872B
tetradic
#2B4187 #872B6F #87712B #2B8743
square
#2B4187 #872B6F #87712B #2B8743
split-complementary
#2B4187 #87432B #6F872B
monochromatic
#0D142A #1C2B59 #2B4187 #3A57B5 #607ACC

Accessibility & contrast

On white

9.51
#2B4187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B4187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4187
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4187#FFFFFF#000000##FFFFFF
##2B41871.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4187;
/* rgb */ color: rgb(43, 65, 135);
/* oklch */ color: oklch(39.8% 0.120 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f75aa',
    500: '#2b4187',
    950: '#000000',
  },
}
SCSS
$custom: #2b4187;
$custom-light: #6f75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4187",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 225.652,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.12008,
    "h": 267.6
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#2B4187
secondary
#B29E5B
accent
#B94DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4187

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

Preview Lab → · Contrast checker → · Palette generator →

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