#231780#231780

#231780 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.163 H 276.2°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#231780
RGBrgb(35, 23, 128)
HSLhsl(247, 70%, 30%)
HSVhsv(247, 82%, 50%)
CMYKcmyk(72.7%, 82%, 0%, 49.8%)
CIE-LABlab(18.05, 39.27, -56.20)
CIE-LCHlch(18.05, 68.57, 304.94°)
OKLaboklab(31.09% 0.0177 -0.1625)
OKLCHoklch(31.09% 0.163 276.2)
XYZxyz(4.8945, 2.5282, 20.6479)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231780 #748017
analogous
#174080 #231780 #581780
triadic
#231780 #802317 #178023
tetradic
#231780 #801740 #748017 #178058
square
#231780 #801740 #748017 #178058
split-complementary
#231780 #805817 #408017
monochromatic
#07051A #150E4C #231780 #3120B4 #4936DB

Accessibility & contrast

On white

13.95
#231780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#231780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231780
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231780#FFFFFF#000000##FFFFFF
##2317801.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231780;
/* rgb */ color: rgb(35, 23, 128);
/* oklch */ color: oklch(31.1% 0.163 276.2);
Tailwind
colors: {
  custom: {
    50: '#6e57a6',
    500: '#231780',
    950: '#000000',
  },
}
SCSS
$custom: #231780;
$custom-light: #6e57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231780",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 246.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31088,
    "c": 0.16343,
    "h": 276.2
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#231780
secondary
#A7B43E
accent
#EC3BD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231780

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

Preview Lab → · Contrast checker → · Palette generator →

#231780 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva