#2B459D#2B459D

#2B459D is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.147 H 267.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2B459D
RGBrgb(43, 69, 157)
HSLhsl(226, 57%, 39%)
HSVhsv(226, 73%, 62%)
CMYKcmyk(72.6%, 56.1%, 0%, 38.4%)
CIE-LABlab(32.27, 21.60, -50.85)
CIE-LCHlch(32.27, 55.25, 293.01°)
OKLaboklab(42.41% -0.0068 -0.1465)
OKLCHoklch(42.41% 0.147 267.3)
XYZxyz(9.2081, 7.2032, 32.7968)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B459D #9D832B
analogous
#2B7E9D #2B459D #4A2B9D
triadic
#2B459D #9D2B45 #459D2B
tetradic
#2B459D #9D2B7E #9D832B #2B9D4A
square
#2B459D #9D2B7E #9D832B #2B9D4A
split-complementary
#2B459D #9D4A2B #7E9D2B
monochromatic
#111B3D #1E306D #2B459D #3C5CCA #6C84D7

Accessibility & contrast

On white

8.60
#2B459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B459D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B459D#FFFFFF#000000##FFFFFF
##2B459D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b459d;
/* rgb */ color: rgb(43, 69, 157);
/* oklch */ color: oklch(42.4% 0.147 267.3);
Tailwind
colors: {
  custom: {
    50: '#7478bb',
    500: '#2b459d',
    950: '#000000',
  },
}
SCSS
$custom: #2b459d;
$custom-light: #7478bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b459d",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 226.316,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.14662,
    "h": 267.3
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#2B459D
secondary
#BDAA66
accent
#BD48E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B459D

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

Preview Lab → · Contrast checker → · Palette generator →

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