#231C77#231C77

#231C77 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.147 H 276.8°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#231C77
RGBrgb(35, 28, 119)
HSLhsl(245, 62%, 29%)
HSVhsv(245, 76%, 47%)
CMYKcmyk(70.6%, 76.5%, 0%, 53.3%)
CIE-LABlab(18.01, 33.46, -50.53)
CIE-LCHlch(18.01, 60.60, 303.51°)
OKLaboklab(30.76% 0.0173 -0.146)
OKLCHoklch(30.76% 0.147 276.8)
XYZxyz(4.4371, 2.5193, 17.7016)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C77 #70771C
analogous
#1C4377 #231C77 #511C77
triadic
#231C77 #77231C #1C7723
tetradic
#231C77 #771C43 #70771C #1C7751
square
#231C77 #771C43 #70771C #1C7751
split-complementary
#231C77 #77511C #43771C
monochromatic
#070619 #141045 #231C77 #3228A9 #483CD1

Accessibility & contrast

On white

13.96
#231C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#231C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C77
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C77#FFFFFF#000000##FFFFFF
##231C771.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231c77;
/* rgb */ color: rgb(35, 28, 119);
/* oklch */ color: oklch(30.8% 0.147 276.8);
Tailwind
colors: {
  custom: {
    50: '#6b5a9f',
    500: '#231c77',
    950: '#000000',
  },
}
SCSS
$custom: #231c77;
$custom-light: #6b5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#231c77",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 244.615,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.14701,
    "h": 276.8
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#231C77
secondary
#A3AB44
accent
#E543D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040F
muted
#7A797E

Preview Lab

Preview with #231C77

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

Preview Lab → · Contrast checker → · Palette generator →

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