#2B45AE#2B45AE

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

Color values

HEX#2B45AE
RGBrgb(43, 69, 174)
HSLhsl(228, 60%, 43%)
HSVhsv(228, 75%, 68%)
CMYKcmyk(75.3%, 60.3%, 0%, 31.8%)
CIE-LABlab(33.62, 28.03, -58.86)
CIE-LCHlch(33.62, 65.19, 295.47°)
OKLaboklab(43.84% -0.0062 -0.17)
OKLCHoklch(43.84% 0.17 267.9)
XYZxyz(10.7617, 7.8247, 40.9793)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B45AE #AE942B
analogous
#2B86AE #2B45AE #532BAE
triadic
#2B45AE #AE2B45 #45AE2B
tetradic
#2B45AE #AE2B86 #AE942B #2BAE53
square
#2B45AE #AE2B86 #AE942B #2BAE53
split-complementary
#2B45AE #AE532B #86AE2B
monochromatic
#131E4C #1F327D #2B45AE #4561D1 #768BDD

Accessibility & contrast

On white

8.19
#2B45AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B45AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B45AE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B45AE#FFFFFF#000000##FFFFFF
##2B45AE1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b45ae;
/* rgb */ color: rgb(43, 69, 174);
/* oklch */ color: oklch(43.8% 0.170 267.9);
Tailwind
colors: {
  custom: {
    50: '#7878c7',
    500: '#2b45ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b45ae;
$custom-light: #7878c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b45ae",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 228.092,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.17009,
    "h": 267.9
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#2B45AE
secondary
#C5B470
accent
#C444E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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