#231A73#231A73

#231A73 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.144 H 277.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#231A73
RGBrgb(35, 26, 115)
HSLhsl(246, 63%, 28%)
HSVhsv(246, 77%, 45%)
CMYKcmyk(69.6%, 77.4%, 0%, 54.9%)
CIE-LABlab(17.15, 33.27, -49.36)
CIE-LCHlch(17.15, 59.53, 303.98°)
OKLaboklab(30.02% 0.0195 -0.1426)
OKLCHoklch(30.02% 0.144 277.8)
XYZxyz(4.1560, 2.3336, 16.4477)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A73 #6A731A
analogous
#1A3E73 #231A73 #4F1A73
triadic
#231A73 #73231A #1A7323
tetradic
#231A73 #731A3E #6A731A #1A734F
square
#231A73 #731A3E #6A731A #1A734F
split-complementary
#231A73 #734F1A #3E731A
monochromatic
#080619 #140F41 #231A73 #3225A5 #4636D2

Accessibility & contrast

On white

14.32
#231A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#231A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A73
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A73#FFFFFF#000000##FFFFFF
##231A731.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231a73;
/* rgb */ color: rgb(35, 26, 115);
/* oklch */ color: oklch(30.0% 0.144 277.8);
Tailwind
colors: {
  custom: {
    50: '#6a589c',
    500: '#231a73',
    950: '#000000',
  },
}
SCSS
$custom: #231a73;
$custom-light: #6a589c;
$custom-dark: #000000;
JSON
{
  "hex": "#231a73",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 246.067,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3002,
    "c": 0.1439,
    "h": 277.8
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#231A73
secondary
#9DA841
accent
#E642D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231A73

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

Preview Lab → · Contrast checker → · Palette generator →

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