#231B73#231B73

#231B73 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.143 H 277.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#231B73
RGBrgb(35, 27, 115)
HSLhsl(245, 62%, 28%)
HSVhsv(245, 77%, 45%)
CMYKcmyk(69.6%, 76.5%, 0%, 54.9%)
CIE-LABlab(17.36, 32.67, -49.01)
CIE-LCHlch(17.36, 58.91, 303.69°)
OKLaboklab(30.17% 0.0188 -0.1416)
OKLCHoklch(30.17% 0.143 277.6)
XYZxyz(4.1786, 2.3786, 16.4552)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B73 #6B731B
analogous
#1B3F73 #231B73 #4F1B73
triadic
#231B73 #73231B #1B7323
tetradic
#231B73 #731B3F #6B731B #1B734F
square
#231B73 #731B3F #6B731B #1B734F
split-complementary
#231B73 #734F1B #3F731B
monochromatic
#080619 #140F41 #231B73 #3227A5 #4638D0

Accessibility & contrast

On white

14.23
#231B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#231B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B73
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B73#FFFFFF#000000##FFFFFF
##231B731.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231b73;
/* rgb */ color: rgb(35, 27, 115);
/* oklch */ color: oklch(30.2% 0.143 277.6);
Tailwind
colors: {
  custom: {
    50: '#6a599c',
    500: '#231b73',
    950: '#000000',
  },
}
SCSS
$custom: #231b73;
$custom-light: #6a599c;
$custom-dark: #000000;
JSON
{
  "hex": "#231b73",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 245.455,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3017,
    "c": 0.14281,
    "h": 277.6
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#231B73
secondary
#9EA842
accent
#E543D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231B73

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

Preview Lab → · Contrast checker → · Palette generator →

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