#2B4CAF#2B4CAF

#2B4CAF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.163 H 266.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2B4CAF
RGBrgb(43, 76, 175)
HSLhsl(225, 61%, 43%)
HSVhsv(225, 75%, 69%)
CMYKcmyk(75.4%, 56.6%, 0%, 31.4%)
CIE-LABlab(35.55, 23.77, -56.30)
CIE-LCHlch(35.55, 61.11, 292.89°)
OKLaboklab(45.32% -0.0113 -0.1624)
OKLCHoklch(45.32% 0.163 266)
XYZxyz(11.3158, 8.7764, 41.6468)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CAF #AF8E2B
analogous
#2B8EAF #2B4CAF #4C2BAF
triadic
#2B4CAF #AF2B4C #4CAF2B
tetradic
#2B4CAF #AF2B8E #AF8E2B #2BAF4C
square
#2B4CAF #AF2B8E #AF8E2B #2BAF4C
split-complementary
#2B4CAF #AF4C2B #8EAF2B
monochromatic
#13214D #1F377E #2B4CAF #4669D1 #7791DE

Accessibility & contrast

On white

7.62
#2B4CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B4CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CAF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CAF#FFFFFF#000000##FFFFFF
##2B4CAF1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4caf;
/* rgb */ color: rgb(43, 76, 175);
/* oklch */ color: oklch(45.3% 0.163 266.0);
Tailwind
colors: {
  custom: {
    50: '#787dc8',
    500: '#2b4caf',
    950: '#000000',
  },
}
SCSS
$custom: #2b4caf;
$custom-light: #787dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4caf",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 225,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.16276,
    "h": 266
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#2B4CAF
secondary
#C5B070
accent
#BC44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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