#2A2D63#2A2D63

#2A2D63 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.094 H 277.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2A2D63
RGBrgb(42, 45, 99)
HSLhsl(237, 40%, 28%)
HSVhsv(237, 58%, 39%)
CMYKcmyk(57.6%, 54.5%, 0%, 61.2%)
CIE-LABlab(21.09, 16.11, -32.50)
CIE-LCHlch(21.09, 36.28, 296.36°)
OKLaboklab(32.61% 0.0122 -0.0928)
OKLCHoklch(32.61% 0.094 277.5)
XYZxyz(4.1447, 3.2696, 12.2147)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D63 #63602A
analogous
#2A4963 #2A2D63 #432A63
triadic
#2A2D63 #632A2D #2D632A
tetradic
#2A2D63 #632A49 #63602A #2A6343
square
#2A2D63 #632A49 #63602A #2A6343
split-complementary
#2A2D63 #63432A #49632A
monochromatic
#090A15 #181938 #2A2D63 #3C418E #5257B6

Accessibility & contrast

On white

12.70
#2A2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D63
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D63#FFFFFF#000000##FFFFFF
##2A2D631.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113565
Deuteranopia (green-blind)
#093062
Tritanopia (blue-blind)
#0F3943
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a2d63;
/* rgb */ color: rgb(42, 45, 99);
/* oklch */ color: oklch(32.6% 0.094 277.5);
Tailwind
colors: {
  custom: {
    50: '#696590',
    500: '#2a2d63',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d63;
$custom-light: #696590;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d63",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 236.842,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32606,
    "c": 0.09362,
    "h": 277.5
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#2A2D63
secondary
#959253
accent
#CA58D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2A2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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