#231C73#231C73

#231C73 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.142 H 277.4°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#231C73
RGBrgb(35, 28, 115)
HSLhsl(245, 61%, 28%)
HSVhsv(245, 76%, 45%)
CMYKcmyk(69.6%, 75.7%, 0%, 54.9%)
CIE-LABlab(17.58, 32.07, -48.66)
CIE-LCHlch(17.58, 58.27, 303.39°)
OKLaboklab(30.32% 0.0181 -0.1405)
OKLCHoklch(30.32% 0.142 277.4)
XYZxyz(4.2019, 2.4253, 16.4630)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C73 #6C731C
analogous
#1C4073 #231C73 #4E1C73
triadic
#231C73 #73231C #1C7323
tetradic
#231C73 #731C40 #6C731C #1C734E
square
#231C73 #731C40 #6C731C #1C734E
split-complementary
#231C73 #734E1C #40731C
monochromatic
#070619 #141042 #231C73 #3228A4 #463ACF

Accessibility & contrast

On white

14.14
#231C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C73
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C73#FFFFFF#000000##FFFFFF
##231C731.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231c73;
/* rgb */ color: rgb(35, 28, 115);
/* oklch */ color: oklch(30.3% 0.142 277.4);
Tailwind
colors: {
  custom: {
    50: '#6a599c',
    500: '#231c73',
    950: '#000000',
  },
}
SCSS
$custom: #231c73;
$custom-light: #6a599c;
$custom-dark: #000000;
JSON
{
  "hex": "#231c73",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 244.828,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30324,
    "c": 0.1417,
    "h": 277.4
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#231C73
secondary
#9FA743
accent
#E444D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231C73

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

Preview Lab → · Contrast checker → · Palette generator →

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