#231280#231280

#231280 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.5% C 0.168 H 276.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#231280
RGBrgb(35, 18, 128)
HSLhsl(249, 75%, 29%)
HSVhsv(249, 86%, 50%)
CMYKcmyk(72.7%, 85.9%, 0%, 49.8%)
CIE-LABlab(17.22, 41.70, -57.58)
CIE-LCHlch(17.22, 71.09, 305.91°)
OKLaboklab(30.51% 0.0198 -0.1664)
OKLCHoklch(30.51% 0.168 276.8)
XYZxyz(4.8045, 2.3480, 20.6179)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231280 #6F8012
analogous
#123880 #231280 #5A1280
triadic
#231280 #802312 #128023
tetradic
#231280 #801238 #6F8012 #12805A
square
#231280 #801238 #6F8012 #12805A
split-complementary
#231280 #805A12 #388012
monochromatic
#07041B #140A4A #231280 #321AB6 #472BE1

Accessibility & contrast

On white

14.29
#231280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#231280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231280
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231280#FFFFFF#000000##FFFFFF
##2312801.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231280;
/* rgb */ color: rgb(35, 18, 128);
/* oklch */ color: oklch(30.5% 0.168 276.8);
Tailwind
colors: {
  custom: {
    50: '#6e55a6',
    500: '#231280',
    950: '#000000',
  },
}
SCSS
$custom: #231280;
$custom-light: #6e55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231280",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 249.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30514,
    "c": 0.16755,
    "h": 276.8
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#231280
secondary
#A2B638
accent
#F236D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231280

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

Preview Lab → · Contrast checker → · Palette generator →

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