#2A2590#2A2590

#2A2590 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.168 H 275.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2A2590
RGBrgb(42, 37, 144)
HSLhsl(243, 59%, 35%)
HSVhsv(243, 74%, 56%)
CMYKcmyk(70.8%, 74.3%, 0%, 43.5%)
CIE-LABlab(23.10, 37.50, -57.88)
CIE-LCHlch(23.10, 68.97, 302.94°)
OKLaboklab(35.31% 0.0162 -0.1673)
OKLCHoklch(35.31% 0.168 275.5)
XYZxyz(6.6488, 3.8284, 26.7687)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2590 #8B9025
analogous
#255590 #2A2590 #5F2590
triadic
#2A2590 #902A25 #25902A
tetradic
#2A2590 #902555 #8B9025 #25905F
square
#2A2590 #902555 #8B9025 #25905F
split-complementary
#2A2590 #905F25 #559025
monochromatic
#0E0C2F #1C185F #2A2590 #3832C1 #605BD5

Accessibility & contrast

On white

11.89
#2A2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A2590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2590
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2590#FFFFFF#000000##FFFFFF
##2A25901.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a2590;
/* rgb */ color: rgb(42, 37, 144);
/* oklch */ color: oklch(35.3% 0.168 275.5);
Tailwind
colors: {
  custom: {
    50: '#7361b2',
    500: '#2a2590',
    950: '#000000',
  },
}
SCSS
$custom: #2a2590;
$custom-light: #7361b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2590",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 242.804,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35306,
    "c": 0.16809,
    "h": 275.5
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#2A2590
secondary
#B5B957
accent
#E245DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2A2590

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

Preview Lab → · Contrast checker → · Palette generator →

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