#2B4286#2B4286

#2B4286 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.0% C 0.117 H 267.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2B4286
RGBrgb(43, 66, 134)
HSLhsl(225, 51%, 35%)
HSVhsv(225, 68%, 53%)
CMYKcmyk(67.9%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.74, 14.86, -40.85)
CIE-LCHlch(29.74, 43.47, 289.99°)
OKLaboklab(39.97% -0.0062 -0.1171)
OKLCHoklch(39.97% 0.117 267)
XYZxyz(7.2461, 6.1306, 23.3511)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4286 #866F2B
analogous
#2B7086 #2B4286 #422B86
triadic
#2B4286 #862B42 #42862B
tetradic
#2B4286 #862B70 #866F2B #2B8642
square
#2B4286 #862B70 #866F2B #2B8642
split-complementary
#2B4286 #86422B #70862B
monochromatic
#0D1429 #1C2B58 #2B4286 #3A59B4 #607BCC

Accessibility & contrast

On white

9.43
#2B4286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B4286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4286
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4286#FFFFFF#000000##FFFFFF
##2B42861.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#054285
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4286;
/* rgb */ color: rgb(43, 66, 134);
/* oklch */ color: oklch(40.0% 0.117 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f75aa',
    500: '#2b4286',
    950: '#000000',
  },
}
SCSS
$custom: #2b4286;
$custom-light: #6f75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4286",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 224.835,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.11726,
    "h": 267
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#2B4286
secondary
#B29C5B
accent
#B74DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4286

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

Preview Lab → · Contrast checker → · Palette generator →

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