#231A80#231A80

#231A80 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.161 H 275.8°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#231A80
RGBrgb(35, 26, 128)
HSLhsl(245, 66%, 30%)
HSVhsv(245, 80%, 50%)
CMYKcmyk(72.7%, 79.7%, 0%, 49.8%)
CIE-LABlab(18.60, 37.67, -55.28)
CIE-LCHlch(18.60, 66.90, 304.27°)
OKLaboklab(31.48% 0.0163 -0.1598)
OKLCHoklch(31.48% 0.161 275.8)
XYZxyz(4.9575, 2.6542, 20.6689)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A80 #77801A
analogous
#1A4480 #231A80 #561A80
triadic
#231A80 #80231A #1A8023
tetradic
#231A80 #801A44 #77801A #1A8056
square
#231A80 #801A44 #77801A #1A8056
split-complementary
#231A80 #80561A #44801A
monochromatic
#07051A #15104D #231A80 #3124B3 #4A3DD8

Accessibility & contrast

On white

13.72
#231A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#231A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A80
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A80#FFFFFF#000000##FFFFFF
##231A801.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231a80;
/* rgb */ color: rgb(35, 26, 128);
/* oklch */ color: oklch(31.5% 0.161 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e59a6',
    500: '#231a80',
    950: '#000000',
  },
}
SCSS
$custom: #231a80;
$custom-light: #6e59a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231a80",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 245.294,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31476,
    "c": 0.16066,
    "h": 275.8
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#231A80
secondary
#AAB442
accent
#E93FDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231A80

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

Preview Lab → · Contrast checker → · Palette generator →

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