#231A75#231A75

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

Color values

HEX#231A75
RGBrgb(35, 26, 117)
HSLhsl(246, 64%, 28%)
HSVhsv(246, 78%, 46%)
CMYKcmyk(70.1%, 77.8%, 0%, 54.1%)
CIE-LABlab(17.37, 33.95, -50.29)
CIE-LCHlch(17.37, 60.68, 304.02°)
OKLaboklab(30.24% 0.019 -0.1453)
OKLCHoklch(30.24% 0.147 277.5)
XYZxyz(4.2724, 2.3801, 17.0604)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A75 #6C751A
analogous
#1A3E75 #231A75 #501A75
triadic
#231A75 #75231A #1A7523
tetradic
#231A75 #751A3E #6C751A #1A7550
square
#231A75 #751A3E #6C751A #1A7550
split-complementary
#231A75 #75501A #3E751A
monochromatic
#070619 #140F43 #231A75 #3225A7 #4637D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##231A75#FFFFFF#000000##FFFFFF
##231A751.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)
#002E78
Deuteranopia (green-blind)
#002773
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231a75;
/* rgb */ color: rgb(35, 26, 117);
/* oklch */ color: oklch(30.2% 0.147 277.5);
Tailwind
colors: {
  custom: {
    50: '#6b589e',
    500: '#231a75',
    950: '#000000',
  },
}
SCSS
$custom: #231a75;
$custom-light: #6b589e;
$custom-dark: #000000;
JSON
{
  "hex": "#231a75",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 245.934,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3024,
    "c": 0.14653,
    "h": 277.5
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#231A75
secondary
#9FAA41
accent
#E741D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231A75

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

Preview Lab → · Contrast checker → · Palette generator →

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