#231A79#231A79

#231A79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.152 H 276.8°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#231A79
RGBrgb(35, 26, 121)
HSLhsl(246, 65%, 29%)
HSVhsv(246, 79%, 47%)
CMYKcmyk(71.1%, 78.5%, 0%, 52.5%)
CIE-LABlab(17.81, 35.31, -52.13)
CIE-LCHlch(17.81, 62.97, 304.12°)
OKLaboklab(30.69% 0.018 -0.1506)
OKLCHoklch(30.69% 0.152 276.8)
XYZxyz(4.5126, 2.4762, 18.3256)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A79 #70791A
analogous
#1A4179 #231A79 #531A79
triadic
#231A79 #79231A #1A7923
tetradic
#231A79 #791A41 #70791A #1A7953
square
#231A79 #791A41 #70791A #1A7953
split-complementary
#231A79 #79531A #41791A
monochromatic
#070519 #140F47 #231A79 #3225AB #4839D4

Accessibility & contrast

On white

14.04
#231A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231A79
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A79#FFFFFF#000000##FFFFFF
##231A791.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231a79;
/* rgb */ color: rgb(35, 26, 121);
/* oklch */ color: oklch(30.7% 0.152 276.8);
Tailwind
colors: {
  custom: {
    50: '#6c58a1',
    500: '#231a79',
    950: '#000000',
  },
}
SCSS
$custom: #231a79;
$custom-light: #6c58a1;
$custom-dark: #000000;
JSON
{
  "hex": "#231a79",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 245.684,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30685,
    "c": 0.15173,
    "h": 276.8
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#231A79
secondary
#A3AD41
accent
#E840D8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231A79

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

Preview Lab → · Contrast checker → · Palette generator →

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