#231C75#231C75

#231C75 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.144 H 277.0°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#231C75
RGBrgb(35, 28, 117)
HSLhsl(245, 61%, 28%)
HSVhsv(245, 76%, 46%)
CMYKcmyk(70.1%, 76.1%, 0%, 54.1%)
CIE-LABlab(17.79, 32.76, -49.59)
CIE-LCHlch(17.79, 59.44, 303.45°)
OKLaboklab(30.54% 0.0177 -0.1433)
OKLCHoklch(30.54% 0.144 277)
XYZxyz(4.3182, 2.4718, 17.0757)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C75 #6E751C
analogous
#1C4175 #231C75 #4F1C75
triadic
#231C75 #75231C #1C7523
tetradic
#231C75 #751C41 #6E751C #1C754F
square
#231C75 #751C41 #6E751C #1C754F
split-complementary
#231C75 #754F1C #41751C
monochromatic
#070619 #141044 #231C75 #3228A6 #473BD0

Accessibility & contrast

On white

14.05
#231C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C75
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C75#FFFFFF#000000##FFFFFF
##231C751.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231c75;
/* rgb */ color: rgb(35, 28, 117);
/* oklch */ color: oklch(30.5% 0.144 277.0);
Tailwind
colors: {
  custom: {
    50: '#6b599e',
    500: '#231c75',
    950: '#000000',
  },
}
SCSS
$custom: #231c75;
$custom-light: #6b599e;
$custom-dark: #000000;
JSON
{
  "hex": "#231c75",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 244.719,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3054,
    "c": 0.14436,
    "h": 277
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#231C75
secondary
#A1A944
accent
#E443D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231C75

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

Preview Lab → · Contrast checker → · Palette generator →

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