#2B4EAF#2B4EAF

#2B4EAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.160 H 265.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2B4EAF
RGBrgb(43, 78, 175)
HSLhsl(224, 61%, 43%)
HSVhsv(224, 75%, 69%)
CMYKcmyk(75.4%, 55.4%, 0%, 31.4%)
CIE-LABlab(36.09, 22.45, -55.42)
CIE-LCHlch(36.09, 59.79, 292.05°)
OKLaboklab(45.72% -0.0128 -0.1597)
OKLCHoklch(45.72% 0.16 265.4)
XYZxyz(11.4558, 9.0563, 41.6934)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EAF #AF8C2B
analogous
#2B90AF #2B4EAF #4A2BAF
triadic
#2B4EAF #AF2B4E #4EAF2B
tetradic
#2B4EAF #AF2B90 #AF8C2B #2BAF4A
square
#2B4EAF #AF2B90 #AF8C2B #2BAF4A
split-complementary
#2B4EAF #AF4A2B #90AF2B
monochromatic
#13224D #1F387E #2B4EAF #466BD1 #7792DE

Accessibility & contrast

On white

7.47
#2B4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2B4EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EAF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EAF#FFFFFF#000000##FFFFFF
##2B4EAF1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4eaf;
/* rgb */ color: rgb(43, 78, 175);
/* oklch */ color: oklch(45.7% 0.160 265.4);
Tailwind
colors: {
  custom: {
    50: '#787fc8',
    500: '#2b4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2b4eaf;
$custom-light: #787fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4eaf",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 224.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.16025,
    "h": 265.4
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#2B4EAF
secondary
#C5AF70
accent
#B944E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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