#2B4AAF#2B4AAF

#2B4AAF is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.165 H 266.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2B4AAF
RGBrgb(43, 74, 175)
HSLhsl(226, 61%, 43%)
HSVhsv(226, 75%, 69%)
CMYKcmyk(75.4%, 57.7%, 0%, 31.4%)
CIE-LABlab(35.01, 25.10, -57.17)
CIE-LCHlch(35.01, 62.44, 293.70°)
OKLaboklab(44.91% -0.0098 -0.165)
OKLCHoklch(44.91% 0.165 266.6)
XYZxyz(11.1802, 8.5051, 41.6015)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AAF #AF902B
analogous
#2B8CAF #2B4AAF #4E2BAF
triadic
#2B4AAF #AF2B4A #4AAF2B
tetradic
#2B4AAF #AF2B8C #AF902B #2BAF4E
square
#2B4AAF #AF2B8C #AF902B #2BAF4E
split-complementary
#2B4AAF #AF4E2B #8CAF2B
monochromatic
#13204D #1F357E #2B4AAF #4667D1 #778FDE

Accessibility & contrast

On white

7.77
#2B4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2B4AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AAF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AAF#FFFFFF#000000##FFFFFF
##2B4AAF1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4aaf;
/* rgb */ color: rgb(43, 74, 175);
/* oklch */ color: oklch(44.9% 0.165 266.6);
Tailwind
colors: {
  custom: {
    50: '#787cc8',
    500: '#2b4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2b4aaf;
$custom-light: #787cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4aaf",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 225.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.16525,
    "h": 266.6
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#2B4AAF
secondary
#C5B170
accent
#BE44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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