#231A77#231A77

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

Color values

HEX#231A77
RGBrgb(35, 26, 119)
HSLhsl(246, 64%, 28%)
HSVhsv(246, 78%, 47%)
CMYKcmyk(70.6%, 78.2%, 0%, 53.3%)
CIE-LABlab(17.59, 34.64, -51.21)
CIE-LCHlch(17.59, 61.83, 304.07°)
OKLaboklab(30.46% 0.0185 -0.148)
OKLCHoklch(30.46% 0.149 277.1)
XYZxyz(4.3912, 2.4276, 17.6864)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A77 #6E771A
analogous
#1A3F77 #231A77 #511A77
triadic
#231A77 #77231A #1A7723
tetradic
#231A77 #771A3F #6E771A #1A7751
square
#231A77 #771A3F #6E771A #1A7751
split-complementary
#231A77 #77511A #3F771A
monochromatic
#070519 #140F45 #231A77 #3225A9 #4738D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##231A77#FFFFFF#000000##FFFFFF
##231A771.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)
#002F7A
Deuteranopia (green-blind)
#002775
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231a77;
/* rgb */ color: rgb(35, 26, 119);
/* oklch */ color: oklch(30.5% 0.149 277.1);
Tailwind
colors: {
  custom: {
    50: '#6b589f',
    500: '#231a77',
    950: '#000000',
  },
}
SCSS
$custom: #231a77;
$custom-light: #6b589f;
$custom-dark: #000000;
JSON
{
  "hex": "#231a77",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 245.806,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30462,
    "c": 0.14914,
    "h": 277.1
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#231A77
secondary
#A1AC41
accent
#E741D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #231A77

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

Preview Lab → · Contrast checker → · Palette generator →

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