#2B45B6#2B45B6

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

Color values

HEX#2B45B6
RGBrgb(43, 69, 182)
HSLhsl(229, 62%, 44%)
HSVhsv(229, 76%, 71%)
CMYKcmyk(76.4%, 62.1%, 0%, 28.6%)
CIE-LABlab(34.29, 31.02, -62.51)
CIE-LCHlch(34.29, 69.78, 296.39°)
OKLaboklab(44.55% -0.0062 -0.1807)
OKLCHoklch(44.55% 0.181 268)
XYZxyz(11.5650, 8.1460, 45.2097)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B45B6 #B69C2B
analogous
#2B8BB6 #2B45B6 #572BB6
triadic
#2B45B6 #B62B45 #45B62B
tetradic
#2B45B6 #B62B8B #B69C2B #2BB657
square
#2B45B6 #B62B8B #B69C2B #2BB657
split-complementary
#2B45B6 #B6572B #8BB62B
monochromatic
#141F53 #1F3284 #2B45B6 #4A64D4 #7B8EE0

Accessibility & contrast

On white

7.99
#2B45B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2B45B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B45B6
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B45B6#FFFFFF#000000##FFFFFF
##2B45B61.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b45b6;
/* rgb */ color: rgb(43, 69, 182);
/* oklch */ color: oklch(44.5% 0.181 268.0);
Tailwind
colors: {
  custom: {
    50: '#7a78cd',
    500: '#2b45b6',
    950: '#000000',
  },
}
SCSS
$custom: #2b45b6;
$custom-light: #7a78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b45b6",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 228.777,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44548,
    "c": 0.1808,
    "h": 268
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#2B45B6
secondary
#C8B975
accent
#C743E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B45B6

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

Preview Lab → · Contrast checker → · Palette generator →

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