#2A2B4E#2A2B4E

#2A2B4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.062 H 280.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#2A2B4E
RGBrgb(42, 43, 78)
HSLhsl(238, 30%, 24%)
HSVhsv(238, 46%, 31%)
CMYKcmyk(46.2%, 44.9%, 0%, 69.4%)
CIE-LABlab(19.10, 10.06, -21.73)
CIE-LCHlch(19.10, 23.95, 294.83°)
OKLaboklab(30.64% 0.0117 -0.0613)
OKLCHoklch(30.64% 0.062 280.8)
XYZxyz(3.1935, 2.7699, 7.5726)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B4E #4E4D2A
analogous
#2A3D4E #2A2B4E #3B2A4E
triadic
#2A2B4E #4E2A2B #2B4E2A
tetradic
#2A2B4E #4E2A3D #4E4D2A #2A4E3B
square
#2A2B4E #4E2A3D #4E4D2A #2A4E3B
split-complementary
#2A2B4E #4E3B2A #3D4E2A
monochromatic
#0B0B14 #151526 #2A2B4E #3F4176 #55579E

Accessibility & contrast

On white

13.51
#2A2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2A2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B4E
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B4E#FFFFFF#000000##FFFFFF
##2A2B4E1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#1F3238
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a2b4e;
/* rgb */ color: rgb(42, 43, 78);
/* oklch */ color: oklch(30.6% 0.062 280.8);
Tailwind
colors: {
  custom: {
    50: '#666480',
    500: '#2a2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b4e;
$custom-light: #666480;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b4e",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 238.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30642,
    "c": 0.06238,
    "h": 280.8
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#2A2B4E
secondary
#807F54
accent
#C362C6
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2A2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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