#2B4DA3#2B4DA3

#2B4DA3 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.145 H 264.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2B4DA3
RGBrgb(43, 77, 163)
HSLhsl(223, 58%, 40%)
HSVhsv(223, 74%, 64%)
CMYKcmyk(73.6%, 52.8%, 0%, 36.1%)
CIE-LABlab(34.93, 18.52, -50.14)
CIE-LCHlch(34.93, 53.46, 290.28°)
OKLaboklab(44.57% -0.013 -0.1442)
OKLCHoklch(44.57% 0.145 264.8)
XYZxyz(10.2587, 8.4646, 35.7364)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DA3 #A3812B
analogous
#2B89A3 #2B4DA3 #452BA3
triadic
#2B4DA3 #A32B4D #4DA32B
tetradic
#2B4DA3 #A32B89 #A3812B #2BA345
square
#2B4DA3 #A32B89 #A3812B #2BA345
split-complementary
#2B4DA3 #A3452B #89A32B
monochromatic
#111F42 #1E3673 #2B4DA3 #3F67CC #6F8DD9

Accessibility & contrast

On white

7.80
#2B4DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B4DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DA3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DA3#FFFFFF#000000##FFFFFF
##2B4DA31.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4da3;
/* rgb */ color: rgb(43, 77, 163);
/* oklch */ color: oklch(44.6% 0.145 264.8);
Tailwind
colors: {
  custom: {
    50: '#757ebf',
    500: '#2b4da3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4da3;
$custom-light: #757ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4da3",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 163
  },
  "hsl": {
    "h": 223,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44566,
    "c": 0.14483,
    "h": 264.8
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#2B4DA3
secondary
#C0A86A
accent
#B646E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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