#2B289F#2B289F

#2B289F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.184 H 274.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2B289F
RGBrgb(43, 40, 159)
HSLhsl(242, 60%, 39%)
HSVhsv(242, 75%, 62%)
CMYKcmyk(73%, 74.8%, 0%, 37.6%)
CIE-LABlab(25.36, 40.94, -63.36)
CIE-LCHlch(25.36, 75.44, 302.87°)
OKLaboklab(37.41% 0.0129 -0.1833)
OKLCHoklch(37.41% 0.184 274)
XYZxyz(8.0110, 4.5336, 33.2470)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B289F #9C9F28
analogous
#28619F #2B289F #67289F
triadic
#2B289F #9F2B28 #289F2B
tetradic
#2B289F #9F2861 #9C9F28 #289F67
square
#2B289F #9F2861 #9C9F28 #289F67
split-complementary
#2B289F #9F6728 #619F28
monochromatic
#110F3D #1E1C6E #2B289F #3B37CD #6B68D9

Accessibility & contrast

On white

11.01
#2B289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B289F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B289F#FFFFFF#000000##FFFFFF
##2B289F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b289f;
/* rgb */ color: rgb(43, 40, 159);
/* oklch */ color: oklch(37.4% 0.184 274.0);
Tailwind
colors: {
  custom: {
    50: '#7764bd',
    500: '#2b289f',
    950: '#000000',
  },
}
SCSS
$custom: #2b289f;
$custom-light: #7764bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b289f",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 241.513,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.18373,
    "h": 274
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B289F

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

Preview Lab → · Contrast checker → · Palette generator →

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