#2B4282#2B4282

#2B4282 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.111 H 266.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2B4282
RGBrgb(43, 66, 130)
HSLhsl(224, 50%, 34%)
HSVhsv(224, 67%, 51%)
CMYKcmyk(66.9%, 49.2%, 0%, 49%)
CIE-LABlab(29.47, 13.33, -38.81)
CIE-LCHlch(29.47, 41.04, 288.96°)
OKLaboklab(39.67% -0.0068 -0.1111)
OKLCHoklch(39.67% 0.111 266.5)
XYZxyz(6.9724, 6.0211, 21.9095)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4282 #826B2B
analogous
#2B6E82 #2B4282 #402B82
triadic
#2B4282 #822B42 #42822B
tetradic
#2B4282 #822B6E #826B2B #2B8240
square
#2B4282 #822B6E #826B2B #2B8240
split-complementary
#2B4282 #82402B #6E822B
monochromatic
#0D1326 #1C2B54 #2B4282 #3A59B0 #5E7ACA

Accessibility & contrast

On white

9.53
#2B4282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4282
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4282#FFFFFF#000000##FFFFFF
##2B42821.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A84
Deuteranopia (green-blind)
#0F4281
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4282;
/* rgb */ color: rgb(43, 66, 130);
/* oklch */ color: oklch(39.7% 0.111 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e76a7',
    500: '#2b4282',
    950: '#000000',
  },
}
SCSS
$custom: #2b4282;
$custom-light: #6e76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4282",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 224.138,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.11129,
    "h": 266.5
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#2B4282
secondary
#B09959
accent
#B54EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4282

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

Preview Lab → · Contrast checker → · Palette generator →

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