#2B4E9D#2B4E9D

#2B4E9D is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.135 H 263.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2B4E9D
RGBrgb(43, 78, 157)
HSLhsl(222, 57%, 39%)
HSVhsv(222, 73%, 62%)
CMYKcmyk(72.6%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.79, 15.55, -46.76)
CIE-LCHlch(34.79, 49.28, 288.40°)
OKLaboklab(44.33% -0.0146 -0.1343)
OKLCHoklch(44.33% 0.135 263.8)
XYZxyz(9.8043, 8.3957, 32.9956)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E9D #9D7A2B
analogous
#2B879D #2B4E9D #412B9D
triadic
#2B4E9D #9D2B4E #4E9D2B
tetradic
#2B4E9D #9D2B87 #9D7A2B #2B9D41
square
#2B4E9D #9D2B87 #9D7A2B #2B9D41
split-complementary
#2B4E9D #9D412B #879D2B
monochromatic
#111E3D #1E366D #2B4E9D #3C67CA #6C8DD7

Accessibility & contrast

On white

7.84
#2B4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2B4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E9D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E9D#FFFFFF#000000##FFFFFF
##2B4E9D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2057A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4e9d;
/* rgb */ color: rgb(43, 78, 157);
/* oklch */ color: oklch(44.3% 0.135 263.8);
Tailwind
colors: {
  custom: {
    50: '#737fba',
    500: '#2b4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e9d;
$custom-light: #737fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e9d",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 221.579,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44326,
    "c": 0.13506,
    "h": 263.8
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#2B4E9D
secondary
#BDA366
accent
#B148E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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