#2B45AA#2B45AA

#2B45AA is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.165 H 267.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2B45AA
RGBrgb(43, 69, 170)
HSLhsl(228, 60%, 42%)
HSVhsv(228, 75%, 67%)
CMYKcmyk(74.7%, 59.4%, 0%, 33.3%)
CIE-LABlab(33.29, 26.53, -57.00)
CIE-LCHlch(33.29, 62.87, 294.96°)
OKLaboklab(43.5% -0.0063 -0.1645)
OKLCHoklch(43.5% 0.165 267.8)
XYZxyz(10.3776, 7.6710, 38.9561)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B45AA #AA902B
analogous
#2B84AA #2B45AA #512BAA
triadic
#2B45AA #AA2B45 #45AA2B
tetradic
#2B45AA #AA2B84 #AA902B #2BAA51
square
#2B45AA #AA2B84 #AA902B #2BAA51
split-complementary
#2B45AA #AA512B #84AA2B
monochromatic
#121D48 #1F3179 #2B45AA #4360CF #7489DC

Accessibility & contrast

On white

8.29
#2B45AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B45AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B45AA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B45AA#FFFFFF#000000##FFFFFF
##2B45AA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b45aa;
/* rgb */ color: rgb(43, 69, 170);
/* oklch */ color: oklch(43.5% 0.165 267.8);
Tailwind
colors: {
  custom: {
    50: '#7778c4',
    500: '#2b45aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b45aa;
$custom-light: #7778c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b45aa",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 227.717,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43497,
    "c": 0.16466,
    "h": 267.8
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#2B45AA
secondary
#C3B26E
accent
#C245E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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