#2B459B#2B459B

#2B459B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.144 H 267.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2B459B
RGBrgb(43, 69, 155)
HSLhsl(226, 57%, 39%)
HSVhsv(226, 72%, 61%)
CMYKcmyk(72.3%, 55.5%, 0%, 39.2%)
CIE-LABlab(32.11, 20.84, -49.89)
CIE-LCHlch(32.11, 54.06, 292.67°)
OKLaboklab(42.25% -0.0069 -0.1436)
OKLCHoklch(42.25% 0.144 267.2)
XYZxyz(9.0387, 7.1355, 31.9049)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B459B #9B812B
analogous
#2B7D9B #2B459B #492B9B
triadic
#2B459B #9B2B45 #459B2B
tetradic
#2B459B #9B2B7D #9B812B #2B9B49
square
#2B459B #9B2B7D #9B812B #2B9B49
split-complementary
#2B459B #9B492B #7D9B2B
monochromatic
#101A3B #1E306B #2B459B #3B5CC9 #6B83D6

Accessibility & contrast

On white

8.65
#2B459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B459B
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B459B#FFFFFF#000000##FFFFFF
##2B459B1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b459b;
/* rgb */ color: rgb(43, 69, 155);
/* oklch */ color: oklch(42.2% 0.144 267.2);
Tailwind
colors: {
  custom: {
    50: '#7478b9',
    500: '#2b459b',
    950: '#000000',
  },
}
SCSS
$custom: #2b459b;
$custom-light: #7478b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b459b",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 226.071,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42247,
    "c": 0.14379,
    "h": 267.2
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#2B459B
secondary
#BCA865
accent
#BD48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B459B

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

Preview Lab → · Contrast checker → · Palette generator →

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