#231A7A#231A7A

#231A7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.153 H 276.7°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#231A7A
RGBrgb(35, 26, 122)
HSLhsl(246, 65%, 29%)
HSVhsv(246, 79%, 48%)
CMYKcmyk(71.3%, 78.7%, 0%, 52.2%)
CIE-LABlab(17.92, 35.65, -52.59)
CIE-LCHlch(17.92, 63.53, 304.14°)
OKLaboklab(30.8% 0.0178 -0.152)
OKLCHoklch(30.8% 0.153 276.7)
XYZxyz(4.5742, 2.5008, 18.6502)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A7A #717A1A
analogous
#1A417A #231A7A #531A7A
triadic
#231A7A #7A231A #1A7A23
tetradic
#231A7A #7A1A41 #717A1A #1A7A53
square
#231A7A #7A1A41 #717A1A #1A7A53
split-complementary
#231A7A #7A531A #417A1A
monochromatic
#070519 #150F48 #231A7A #3125AC #4839D5

Accessibility & contrast

On white

14.00
#231A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#231A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A7A
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A7A#FFFFFF#000000##FFFFFF
##231A7A1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231a7a;
/* rgb */ color: rgb(35, 26, 122);
/* oklch */ color: oklch(30.8% 0.153 276.7);
Tailwind
colors: {
  custom: {
    50: '#6c59a2',
    500: '#231a7a',
    950: '#000000',
  },
}
SCSS
$custom: #231a7a;
$custom-light: #6c59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#231a7a",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 245.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30797,
    "c": 0.15301,
    "h": 276.7
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#231A7A
secondary
#A4AE41
accent
#E840D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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