#2F23AC#2F23AC

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

Color values

HEX#2F23AC
RGBrgb(47, 35, 172)
HSLhsl(245, 66%, 41%)
HSVhsv(245, 80%, 67%)
CMYKcmyk(72.7%, 79.7%, 0%, 32.5%)
CIE-LABlab(26.11, 48.21, -69.99)
CIE-LCHlch(26.11, 84.98, 304.56°)
OKLaboklab(38.42% 0.0175 -0.2024)
OKLCHoklch(38.42% 0.203 274.9)
XYZxyz(9.2173, 4.7841, 39.4594)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F23AC #A0AC23
analogous
#235CAC #2F23AC #7323AC
triadic
#2F23AC #AC2F23 #23AC2F
tetradic
#2F23AC #AC235C #A0AC23 #23AC73
square
#2F23AC #AC235C #A0AC23 #23AC73
split-complementary
#2F23AC #AC7323 #5CAC23
monochromatic
#130E46 #211979 #2F23AC #4436D6 #7369E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F23AC#FFFFFF#000000##FFFFFF
##2F23AC1.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)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f23ac;
/* rgb */ color: rgb(47, 35, 172);
/* oklch */ color: oklch(38.4% 0.203 274.9);
Tailwind
colors: {
  custom: {
    50: '#7c62c6',
    500: '#2f23ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f23ac;
$custom-light: #7c62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f23ac",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 245.255,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.20314,
    "h": 274.9
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#2F23AC
secondary
#BEC664
accent
#E93FDA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2F23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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