#2B45B5#2B45B5

#2B45B5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.179 H 268.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2B45B5
RGBrgb(43, 69, 181)
HSLhsl(229, 62%, 44%)
HSVhsv(229, 76%, 71%)
CMYKcmyk(76.2%, 61.9%, 0%, 29%)
CIE-LABlab(34.20, 30.65, -62.06)
CIE-LCHlch(34.20, 69.21, 296.28°)
OKLaboklab(44.46% -0.0062 -0.1794)
OKLCHoklch(44.46% 0.179 268)
XYZxyz(11.4620, 8.1048, 44.6674)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B45B5 #B59B2B
analogous
#2B8AB5 #2B45B5 #562BB5
triadic
#2B45B5 #B52B45 #45B52B
tetradic
#2B45B5 #B52B8A #B59B2B #2BB556
square
#2B45B5 #B52B8A #B59B2B #2BB556
split-complementary
#2B45B5 #B5562B #8AB52B
monochromatic
#141F52 #1F3284 #2B45B5 #4963D4 #7B8EE0

Accessibility & contrast

On white

8.01
#2B45B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B45B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B45B5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B45B5#FFFFFF#000000##FFFFFF
##2B45B51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b45b5;
/* rgb */ color: rgb(43, 69, 181);
/* oklch */ color: oklch(44.5% 0.179 268.0);
Tailwind
colors: {
  custom: {
    50: '#7a78cc',
    500: '#2b45b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b45b5;
$custom-light: #7a78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b45b5",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 228.696,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44458,
    "c": 0.17947,
    "h": 268
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#2B45B5
secondary
#C8B874
accent
#C643E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2B45B5

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

Preview Lab → · Contrast checker → · Palette generator →

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