#231E73#231E73

#231E73 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.139 H 276.9°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#231E73
RGBrgb(35, 30, 115)
HSLhsl(244, 59%, 28%)
HSVhsv(244, 74%, 45%)
CMYKcmyk(69.6%, 73.9%, 0%, 54.9%)
CIE-LABlab(18.02, 30.83, -47.92)
CIE-LCHlch(18.02, 56.98, 302.75°)
OKLaboklab(30.64% 0.0167 -0.1384)
OKLCHoklch(30.64% 0.139 276.9)
XYZxyz(4.2509, 2.5233, 16.4794)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E73 #6E731E
analogous
#1E4373 #231E73 #4D1E73
triadic
#231E73 #73231E #1E7323
tetradic
#231E73 #731E43 #6E731E #1E734D
square
#231E73 #731E43 #6E731E #1E734D
split-complementary
#231E73 #734D1E #43731E
monochromatic
#070618 #141142 #231E73 #322BA4 #473FCD

Accessibility & contrast

On white

13.96
#231E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E73
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E73#FFFFFF#000000##FFFFFF
##231E731.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231e73;
/* rgb */ color: rgb(35, 30, 115);
/* oklch */ color: oklch(30.6% 0.139 276.9);
Tailwind
colors: {
  custom: {
    50: '#6a5b9c',
    500: '#231e73',
    950: '#000000',
  },
}
SCSS
$custom: #231e73;
$custom-light: #6a5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#231e73",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 243.529,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30643,
    "c": 0.13941,
    "h": 276.9
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#231E73
secondary
#A1A746
accent
#E246D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231E73

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

Preview Lab → · Contrast checker → · Palette generator →

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