#2B4284#2B4284

#2B4284 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.114 H 266.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2B4284
RGBrgb(43, 66, 132)
HSLhsl(224, 51%, 34%)
HSVhsv(224, 67%, 52%)
CMYKcmyk(67.4%, 50%, 0%, 48.2%)
CIE-LABlab(29.60, 14.10, -39.83)
CIE-LCHlch(29.60, 42.25, 289.49°)
OKLaboklab(39.82% -0.0065 -0.1141)
OKLCHoklch(39.82% 0.114 266.7)
XYZxyz(7.1079, 6.0753, 22.6234)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4284 #846D2B
analogous
#2B6F84 #2B4284 #412B84
triadic
#2B4284 #842B42 #42842B
tetradic
#2B4284 #842B6F #846D2B #2B8441
square
#2B4284 #842B6F #846D2B #2B8441
split-complementary
#2B4284 #84412B #6F842B
monochromatic
#0D1428 #1C2B56 #2B4284 #3A59B2 #5F7BCB

Accessibility & contrast

On white

9.48
#2B4284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B4284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4284
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4284#FFFFFF#000000##FFFFFF
##2B42841.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#0A4283
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4284;
/* rgb */ color: rgb(43, 66, 132);
/* oklch */ color: oklch(39.8% 0.114 266.7);
Tailwind
colors: {
  custom: {
    50: '#6f76a8',
    500: '#2b4284',
    950: '#000000',
  },
}
SCSS
$custom: #2b4284;
$custom-light: #6f76a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4284",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 224.494,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39815,
    "c": 0.11427,
    "h": 266.7
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#2B4284
secondary
#B19A5A
accent
#B64DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4284

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

Preview Lab → · Contrast checker → · Palette generator →

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