#2A289F#2A289F

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

Color values

HEX#2A289F
RGBrgb(42, 40, 159)
HSLhsl(241, 60%, 39%)
HSVhsv(241, 75%, 62%)
CMYKcmyk(73.6%, 74.8%, 0%, 37.6%)
CIE-LABlab(25.30, 40.84, -63.47)
CIE-LCHlch(25.30, 75.48, 302.76°)
OKLaboklab(37.34% 0.0117 -0.1836)
OKLCHoklch(37.34% 0.184 273.6)
XYZxyz(7.9696, 4.5122, 33.2451)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A289F #9D9F28
analogous
#28629F #2A289F #66289F
triadic
#2A289F #9F2A28 #289F2A
tetradic
#2A289F #9F2862 #9D9F28 #289F66
square
#2A289F #9F2862 #9D9F28 #289F66
split-complementary
#2A289F #9F6628 #629F28
monochromatic
#100F3D #1D1C6E #2A289F #3A37CD #6A68D9

Accessibility & contrast

On white

11.04
#2A289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A289F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A289F#FFFFFF#000000##FFFFFF
##2A289F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.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: #2a289f;
/* rgb */ color: rgb(42, 40, 159);
/* oklch */ color: oklch(37.3% 0.184 273.6);
Tailwind
colors: {
  custom: {
    50: '#7764bd',
    500: '#2a289f',
    950: '#000000',
  },
}
SCSS
$custom: #2a289f;
$custom-light: #7764bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a289f",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 241.008,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37342,
    "c": 0.18399,
    "h": 273.6
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#2A289F
secondary
#BEBF64
accent
#E345E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2A289F

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

Preview Lab → · Contrast checker → · Palette generator →

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