#231480#231480

#231480 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.166 H 276.6°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#231480
RGBrgb(35, 20, 128)
HSLhsl(248, 73%, 29%)
HSVhsv(248, 84%, 50%)
CMYKcmyk(72.7%, 84.4%, 0%, 49.8%)
CIE-LABlab(17.53, 40.77, -57.05)
CIE-LCHlch(17.53, 70.12, 305.55°)
OKLaboklab(30.73% 0.0191 -0.1649)
OKLCHoklch(30.73% 0.166 276.6)
XYZxyz(4.8383, 2.4157, 20.6292)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231480 #718014
analogous
#143B80 #231480 #591480
triadic
#231480 #802314 #148023
tetradic
#231480 #80143B #718014 #148059
square
#231480 #80143B #718014 #148059
split-complementary
#231480 #805914 #3B8014
monochromatic
#07041A #150C4B #231480 #311CB5 #4830DF

Accessibility & contrast

On white

14.16
#231480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#231480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231480
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231480#FFFFFF#000000##FFFFFF
##2314801.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231480;
/* rgb */ color: rgb(35, 20, 128);
/* oklch */ color: oklch(30.7% 0.166 276.6);
Tailwind
colors: {
  custom: {
    50: '#6e56a6',
    500: '#231480',
    950: '#000000',
  },
}
SCSS
$custom: #231480;
$custom-light: #6e56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231480",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 248.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30732,
    "c": 0.16598,
    "h": 276.6
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#231480
secondary
#A4B53B
accent
#F038D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231480

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

Preview Lab → · Contrast checker → · Palette generator →

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