#2B4DAF#2B4DAF

#2B4DAF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.162 H 265.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2B4DAF
RGBrgb(43, 77, 175)
HSLhsl(225, 61%, 43%)
HSVhsv(225, 75%, 69%)
CMYKcmyk(75.4%, 56%, 0%, 31.4%)
CIE-LABlab(35.82, 23.11, -55.86)
CIE-LCHlch(35.82, 60.45, 292.48°)
OKLaboklab(45.52% -0.012 -0.1611)
OKLCHoklch(45.52% 0.162 265.7)
XYZxyz(11.3853, 8.9152, 41.6699)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DAF #AF8D2B
analogous
#2B8FAF #2B4DAF #4B2BAF
triadic
#2B4DAF #AF2B4D #4DAF2B
tetradic
#2B4DAF #AF2B8F #AF8D2B #2BAF4B
square
#2B4DAF #AF2B8F #AF8D2B #2BAF4B
split-complementary
#2B4DAF #AF4B2B #8FAF2B
monochromatic
#13224D #1F377E #2B4DAF #466AD1 #7791DE

Accessibility & contrast

On white

7.55
#2B4DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2B4DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DAF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DAF#FFFFFF#000000##FFFFFF
##2B4DAF1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4daf;
/* rgb */ color: rgb(43, 77, 175);
/* oklch */ color: oklch(45.5% 0.162 265.7);
Tailwind
colors: {
  custom: {
    50: '#787ec8',
    500: '#2b4daf',
    950: '#000000',
  },
}
SCSS
$custom: #2b4daf;
$custom-light: #787ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4daf",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 224.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.16151,
    "h": 265.7
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#2B4DAF
secondary
#C5AF70
accent
#BB44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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