#231A8A#231A8A

#231A8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.173 H 274.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#231A8A
RGBrgb(35, 26, 138)
HSLhsl(245, 68%, 32%)
HSVhsv(245, 81%, 54%)
CMYKcmyk(74.6%, 81.2%, 0%, 45.9%)
CIE-LABlab(19.76, 40.97, -59.67)
CIE-LCHlch(19.76, 72.38, 304.47°)
OKLaboklab(32.63% 0.0137 -0.1726)
OKLCHoklch(32.63% 0.173 274.6)
XYZxyz(5.6485, 2.9305, 24.3078)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A8A #818A1A
analogous
#1A498A #231A8A #5B1A8A
triadic
#231A8A #8A231A #1A8A23
tetradic
#231A8A #8A1A49 #818A1A #1A8A5B
square
#231A8A #8A1A49 #818A1A #1A8A5B
split-complementary
#231A8A #8A5B1A #498A1A
monochromatic
#090723 #161057 #231A8A #3024BD #4F43DC

Accessibility & contrast

On white

13.24
#231A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#231A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A8A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A8A#FFFFFF#000000##FFFFFF
##231A8A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231a8a;
/* rgb */ color: rgb(35, 26, 138);
/* oklch */ color: oklch(32.6% 0.173 274.6);
Tailwind
colors: {
  custom: {
    50: '#705aad',
    500: '#231a8a',
    950: '#000000',
  },
}
SCSS
$custom: #231a8a;
$custom-light: #705aad;
$custom-dark: #000000;
JSON
{
  "hex": "#231a8a",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 244.821,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3263,
    "c": 0.17311,
    "h": 274.6
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#231A8A
secondary
#B3BD43
accent
#EB3DDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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