#231C80#231C80

#231C80 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.159 H 275.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#231C80
RGBrgb(35, 28, 128)
HSLhsl(244, 64%, 31%)
HSVhsv(244, 78%, 50%)
CMYKcmyk(72.7%, 78.1%, 0%, 49.8%)
CIE-LABlab(19.00, 36.54, -54.63)
CIE-LCHlch(19.00, 65.73, 303.78°)
OKLaboklab(31.75% 0.0153 -0.158)
OKLCHoklch(31.75% 0.159 275.5)
XYZxyz(5.0034, 2.7459, 20.6842)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C80 #79801C
analogous
#1C4780 #231C80 #551C80
triadic
#231C80 #80231C #1C8023
tetradic
#231C80 #801C47 #79801C #1C8055
square
#231C80 #801C47 #79801C #1C8055
split-complementary
#231C80 #80551C #47801C
monochromatic
#08061C #15114E #231C80 #3127B2 #4B41D5

Accessibility & contrast

On white

13.56
#231C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#231C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C80
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C80#FFFFFF#000000##FFFFFF
##231C801.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231c80;
/* rgb */ color: rgb(35, 28, 128);
/* oklch */ color: oklch(31.8% 0.159 275.5);
Tailwind
colors: {
  custom: {
    50: '#6d5aa6',
    500: '#231c80',
    950: '#000000',
  },
}
SCSS
$custom: #231c80;
$custom-light: #6d5aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#231c80",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 244.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31753,
    "c": 0.1587,
    "h": 275.5
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#231C80
secondary
#ACB344
accent
#E741DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231C80

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

Preview Lab → · Contrast checker → · Palette generator →

#231C80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva