#2B45AD#2B45AD

#2B45AD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.169 H 267.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2B45AD
RGBrgb(43, 69, 173)
HSLhsl(228, 60%, 42%)
HSVhsv(228, 75%, 68%)
CMYKcmyk(75.1%, 60.1%, 0%, 32.2%)
CIE-LABlab(33.53, 27.66, -58.39)
CIE-LCHlch(33.53, 64.61, 295.34°)
OKLaboklab(43.76% -0.0062 -0.1686)
OKLCHoklch(43.76% 0.169 267.9)
XYZxyz(10.6646, 7.7858, 40.4678)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B45AD #AD932B
analogous
#2B86AD #2B45AD #522BAD
triadic
#2B45AD #AD2B45 #45AD2B
tetradic
#2B45AD #AD2B86 #AD932B #2BAD52
square
#2B45AD #AD2B86 #AD932B #2BAD52
split-complementary
#2B45AD #AD522B #86AD2B
monochromatic
#131E4B #1F317C #2B45AD #4561D1 #768ADD

Accessibility & contrast

On white

8.21
#2B45AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B45AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B45AD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B45AD#FFFFFF#000000##FFFFFF
##2B45AD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b45ad;
/* rgb */ color: rgb(43, 69, 173);
/* oklch */ color: oklch(43.8% 0.169 267.9);
Tailwind
colors: {
  custom: {
    50: '#7878c6',
    500: '#2b45ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b45ad;
$custom-light: #7878c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b45ad",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 228,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.16874,
    "h": 267.9
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#2B45AD
secondary
#C4B36F
accent
#C444E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B45AD

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

Preview Lab → · Contrast checker → · Palette generator →

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