#231E79#231E79

#231E79 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.147 H 276.1°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#231E79
RGBrgb(35, 30, 121)
HSLhsl(243, 60%, 30%)
HSVhsv(243, 75%, 47%)
CMYKcmyk(71.1%, 75.2%, 0%, 52.5%)
CIE-LABlab(18.65, 32.94, -50.74)
CIE-LCHlch(18.65, 60.50, 302.99°)
OKLaboklab(31.28% 0.0156 -0.1466)
OKLCHoklch(31.28% 0.147 276.1)
XYZxyz(4.6075, 2.6659, 18.3572)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E79 #74791E
analogous
#1E4679 #231E79 #511E79
triadic
#231E79 #79231E #1E7923
tetradic
#231E79 #791E46 #74791E #1E7951
square
#231E79 #791E46 #74791E #1E7951
split-complementary
#231E79 #79511E #46791E
monochromatic
#070619 #151248 #231E79 #312AAA #4941D0

Accessibility & contrast

On white

13.70
#231E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E79
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E79#FFFFFF#000000##FFFFFF
##231E791.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231e79;
/* rgb */ color: rgb(35, 30, 121);
/* oklch */ color: oklch(31.3% 0.147 276.1);
Tailwind
colors: {
  custom: {
    50: '#6c5ba1',
    500: '#231e79',
    950: '#000000',
  },
}
SCSS
$custom: #231e79;
$custom-light: #6c5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#231e79",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 243.297,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31282,
    "c": 0.14746,
    "h": 276.1
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#231E79
secondary
#A7AD46
accent
#E344DB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #231E79

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

Preview Lab → · Contrast checker → · Palette generator →

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