#2A2263#2A2263

#2A2263 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.4% C 0.110 H 283.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#2A2263
RGBrgb(42, 34, 99)
HSLhsl(247, 49%, 26%)
HSVhsv(247, 66%, 39%)
CMYKcmyk(57.6%, 65.7%, 0%, 61.2%)
CIE-LABlab(18.08, 23.73, -37.37)
CIE-LCHlch(18.08, 44.26, 302.41°)
OKLaboklab(30.37% 0.0253 -0.1072)
OKLCHoklch(30.37% 0.11 283.3)
XYZxyz(3.7783, 2.5369, 12.0925)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2263 #5B6322
analogous
#223A63 #2A2263 #4A2263
triadic
#2A2263 #632A22 #22632A
tetradic
#2A2263 #63223A #5B6322 #22634A
square
#2A2263 #63223A #5B6322 #22634A
split-complementary
#2A2263 #634A22 #3A6322
monochromatic
#0A0817 #171235 #2A2263 #3D3291 #5141BE

Accessibility & contrast

On white

13.93
#2A2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2A2263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2263
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2263#FFFFFF#000000##FFFFFF
##2A22631.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#11323F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2263;
/* rgb */ color: rgb(42, 34, 99);
/* oklch */ color: oklch(30.4% 0.110 283.3);
Tailwind
colors: {
  custom: {
    50: '#6a5d90',
    500: '#2a2263',
    950: '#000000',
  },
}
SCSS
$custom: #2a2263;
$custom-light: #6a5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2263",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 247.385,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30374,
    "c": 0.11015,
    "h": 283.3
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#2A2263
secondary
#8D974A
accent
#D84FC8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2A2263

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

Preview Lab → · Contrast checker → · Palette generator →

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