#2D23AF#2D23AF

#2D23AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.207 H 273.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2D23AF
RGBrgb(45, 35, 175)
HSLhsl(244, 67%, 41%)
HSVhsv(244, 80%, 69%)
CMYKcmyk(74.3%, 80%, 0%, 31.4%)
CIE-LABlab(26.32, 48.98, -71.45)
CIE-LCHlch(26.32, 86.63, 304.43°)
OKLaboklab(38.63% 0.0141 -0.2067)
OKLCHoklch(38.63% 0.207 273.9)
XYZxyz(9.4185, 4.8541, 40.9897)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D23AF #A5AF23
analogous
#235FAF #2D23AF #7323AF
triadic
#2D23AF #AF2D23 #23AF2D
tetradic
#2D23AF #AF235F #A5AF23 #23AF73
square
#2D23AF #AF235F #A5AF23 #23AF73
split-complementary
#2D23AF #AF7323 #5FAF23
monochromatic
#130F49 #20197C #2D23AF #4338D7 #736BE1

Accessibility & contrast

On white

10.65
#2D23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D23AF
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D23AF#FFFFFF#000000##FFFFFF
##2D23AF1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d23af;
/* rgb */ color: rgb(45, 35, 175);
/* oklch */ color: oklch(38.6% 0.207 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c62c8',
    500: '#2d23af',
    950: '#000000',
  },
}
SCSS
$custom: #2d23af;
$custom-light: #7c62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d23af",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 244.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38629,
    "c": 0.20717,
    "h": 273.9
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#2D23AF
secondary
#C1C766
accent
#EA3EDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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