#2B459E#2B459E

#2B459E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.148 H 267.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2B459E
RGBrgb(43, 69, 158)
HSLhsl(226, 57%, 39%)
HSVhsv(226, 73%, 62%)
CMYKcmyk(72.8%, 56.3%, 0%, 38%)
CIE-LABlab(32.34, 21.98, -51.33)
CIE-LCHlch(32.34, 55.84, 293.18°)
OKLaboklab(42.49% -0.0067 -0.1479)
OKLCHoklch(42.49% 0.148 267.4)
XYZxyz(9.2938, 7.2375, 33.2483)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B459E #9E842B
analogous
#2B7F9E #2B459E #4B2B9E
triadic
#2B459E #9E2B45 #459E2B
tetradic
#2B459E #9E2B7F #9E842B #2B9E4B
square
#2B459E #9E2B7F #9E842B #2B9E4B
split-complementary
#2B459E #9E4B2B #7F9E2B
monochromatic
#111B3E #1E306E #2B459E #3C5CCA #6C84D7

Accessibility & contrast

On white

8.58
#2B459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B459E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B459E#FFFFFF#000000##FFFFFF
##2B459E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b459e;
/* rgb */ color: rgb(43, 69, 158);
/* oklch */ color: oklch(42.5% 0.148 267.4);
Tailwind
colors: {
  custom: {
    50: '#7478bb',
    500: '#2b459e',
    950: '#000000',
  },
}
SCSS
$custom: #2b459e;
$custom-light: #7478bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b459e",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 226.435,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.14802,
    "h": 267.4
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#2B459E
secondary
#BEAA67
accent
#BE47E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B459E

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

Preview Lab → · Contrast checker → · Palette generator →

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