#231380#231380

#231380 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.167 H 276.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#231380
RGBrgb(35, 19, 128)
HSLhsl(249, 74%, 29%)
HSVhsv(249, 85%, 50%)
CMYKcmyk(72.7%, 85.2%, 0%, 49.8%)
CIE-LABlab(17.37, 41.24, -57.32)
CIE-LCHlch(17.37, 70.61, 305.73°)
OKLaboklab(30.62% 0.0195 -0.1656)
OKLCHoklch(30.62% 0.167 276.7)
XYZxyz(4.8210, 2.3811, 20.6234)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231380 #708013
analogous
#133A80 #231380 #5A1380
triadic
#231380 #802313 #138023
tetradic
#231380 #80133A #708013 #13805A
square
#231380 #80133A #708013 #13805A
split-complementary
#231380 #805A13 #3A8013
monochromatic
#07041B #140B4B #231380 #321BB5 #482DE0

Accessibility & contrast

On white

14.22
#231380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231380
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231380#FFFFFF#000000##FFFFFF
##2313801.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.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: #231380;
/* rgb */ color: rgb(35, 19, 128);
/* oklch */ color: oklch(30.6% 0.167 276.7);
Tailwind
colors: {
  custom: {
    50: '#6e55a6',
    500: '#231380',
    950: '#000000',
  },
}
SCSS
$custom: #231380;
$custom-light: #6e55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231380",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 248.807,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30621,
    "c": 0.16678,
    "h": 276.7
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#231380
secondary
#A3B539
accent
#F137D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231380

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

Preview Lab → · Contrast checker → · Palette generator →

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