#231A78#231A78

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

Color values

HEX#231A78
RGBrgb(35, 26, 120)
HSLhsl(246, 64%, 29%)
HSVhsv(246, 78%, 47%)
CMYKcmyk(70.8%, 78.3%, 0%, 52.9%)
CIE-LABlab(17.70, 34.98, -51.67)
CIE-LCHlch(17.70, 62.40, 304.09°)
OKLaboklab(30.57% 0.0183 -0.1493)
OKLCHoklch(30.57% 0.15 277)
XYZxyz(4.4516, 2.4518, 18.0043)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A78 #6F781A
analogous
#1A4078 #231A78 #521A78
triadic
#231A78 #78231A #1A7823
tetradic
#231A78 #781A40 #6F781A #1A7852
square
#231A78 #781A40 #6F781A #1A7852
split-complementary
#231A78 #78521A #40781A
monochromatic
#070519 #140F46 #231A78 #3225AA #4738D4

Accessibility & contrast

On white

14.09
#231A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231A78
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A78#FFFFFF#000000##FFFFFF
##231A781.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002776
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231a78;
/* rgb */ color: rgb(35, 26, 120);
/* oklch */ color: oklch(30.6% 0.150 277.0);
Tailwind
colors: {
  custom: {
    50: '#6c58a0',
    500: '#231a78',
    950: '#000000',
  },
}
SCSS
$custom: #231a78;
$custom-light: #6c58a0;
$custom-dark: #000000;
JSON
{
  "hex": "#231a78",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 245.745,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30574,
    "c": 0.15042,
    "h": 277
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#231A78
secondary
#A2AC41
accent
#E740D7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #231A78

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

Preview Lab → · Contrast checker → · Palette generator →

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