#2B45B0#2B45B0

#2B45B0 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.173 H 267.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2B45B0
RGBrgb(43, 69, 176)
HSLhsl(228, 61%, 43%)
HSVhsv(228, 76%, 69%)
CMYKcmyk(75.6%, 60.8%, 0%, 31%)
CIE-LABlab(33.78, 28.78, -59.78)
CIE-LCHlch(33.78, 66.34, 295.71°)
OKLaboklab(44.02% -0.0062 -0.1727)
OKLCHoklch(44.02% 0.173 267.9)
XYZxyz(10.9581, 7.9032, 42.0138)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B45B0 #B0962B
analogous
#2B87B0 #2B45B0 #542BB0
triadic
#2B45B0 #B02B45 #45B02B
tetradic
#2B45B0 #B02B87 #B0962B #2BB054
square
#2B45B0 #B02B87 #B0962B #2BB054
split-complementary
#2B45B0 #B0542B #87B02B
monochromatic
#131E4E #1F327F #2B45B0 #4662D2 #788CDE

Accessibility & contrast

On white

8.14
#2B45B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B45B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B45B0
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B45B0#FFFFFF#000000##FFFFFF
##2B45B01.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b45b0;
/* rgb */ color: rgb(43, 69, 176);
/* oklch */ color: oklch(44.0% 0.173 267.9);
Tailwind
colors: {
  custom: {
    50: '#7878c8',
    500: '#2b45b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b45b0;
$custom-light: #7878c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b45b0",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 228.271,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44017,
    "c": 0.17279,
    "h": 267.9
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#2B45B0
secondary
#C6B571
accent
#C544E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B45B0

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

Preview Lab → · Contrast checker → · Palette generator →

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