#2A23AF#2A23AF

#2A23AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.208 H 272.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2A23AF
RGBrgb(42, 35, 175)
HSLhsl(243, 67%, 41%)
HSVhsv(243, 80%, 69%)
CMYKcmyk(76%, 80%, 0%, 31.4%)
CIE-LABlab(26.12, 48.76, -71.78)
CIE-LCHlch(26.12, 86.77, 304.19°)
OKLaboklab(38.44% 0.0104 -0.2077)
OKLCHoklch(38.44% 0.208 272.9)
XYZxyz(9.2912, 4.7885, 40.9837)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A23AF #A8AF23
analogous
#2362AF #2A23AF #7023AF
triadic
#2A23AF #AF2A23 #23AF2A
tetradic
#2A23AF #AF2362 #A8AF23 #23AF70
square
#2A23AF #AF2362 #A8AF23 #23AF70
split-complementary
#2A23AF #AF7023 #62AF23
monochromatic
#120F49 #1E197C #2A23AF #4038D7 #716BE1

Accessibility & contrast

On white

10.73
#2A23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A23AF
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A23AF#FFFFFF#000000##FFFFFF
##2A23AF1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a23af;
/* rgb */ color: rgb(42, 35, 175);
/* oklch */ color: oklch(38.4% 0.208 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b61c8',
    500: '#2a23af',
    950: '#000000',
  },
}
SCSS
$custom: #2a23af;
$custom-light: #7b61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a23af",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 243,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38444,
    "c": 0.20795,
    "h": 272.9
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#2A23AF
secondary
#C3C766
accent
#EA3EE1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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