#2B289E#2B289E

#2B289E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.182 H 274.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2B289E
RGBrgb(43, 40, 158)
HSLhsl(242, 60%, 39%)
HSVhsv(242, 75%, 62%)
CMYKcmyk(72.8%, 74.7%, 0%, 38%)
CIE-LABlab(25.26, 40.60, -62.93)
CIE-LCHlch(25.26, 74.89, 302.83°)
OKLaboklab(37.3% 0.0131 -0.182)
OKLCHoklch(37.3% 0.182 274.1)
XYZxyz(7.9246, 4.4990, 32.7919)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B289E #9B9E28
analogous
#28609E #2B289E #66289E
triadic
#2B289E #9E2B28 #289E2B
tetradic
#2B289E #9E2860 #9B9E28 #289E66
square
#2B289E #9E2860 #9B9E28 #289E66
split-complementary
#2B289E #9E6628 #609E28
monochromatic
#100F3C #1E1C6D #2B289E #3B37CC #6B68D9

Accessibility & contrast

On white

11.05
#2B289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B289E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B289E#FFFFFF#000000##FFFFFF
##2B289E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b289e;
/* rgb */ color: rgb(43, 40, 158);
/* oklch */ color: oklch(37.3% 0.182 274.1);
Tailwind
colors: {
  custom: {
    50: '#7764bc',
    500: '#2b289e',
    950: '#000000',
  },
}
SCSS
$custom: #2b289e;
$custom-light: #7764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b289e",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 241.525,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37299,
    "c": 0.18247,
    "h": 274.1
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#2B289E
secondary
#BCBF63
accent
#E345DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B289E

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

Preview Lab → · Contrast checker → · Palette generator →

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