#231E7C#231E7C

#231E7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.151 H 275.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#231E7C
RGBrgb(35, 30, 124)
HSLhsl(243, 61%, 30%)
HSVhsv(243, 76%, 49%)
CMYKcmyk(71.8%, 75.8%, 0%, 51.4%)
CIE-LABlab(18.97, 33.99, -52.13)
CIE-LCHlch(18.97, 62.23, 303.11°)
OKLaboklab(31.61% 0.015 -0.1507)
OKLCHoklch(31.61% 0.151 275.7)
XYZxyz(4.7943, 2.7407, 19.3412)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E7C #777C1E
analogous
#1E487C #231E7C #521E7C
triadic
#231E7C #7C231E #1E7C23
tetradic
#231E7C #7C1E48 #777C1E #1E7C52
square
#231E7C #7C1E48 #777C1E #1E7C52
split-complementary
#231E7C #7C521E #487C1E
monochromatic
#070619 #15124B #231E7C #312AAD #4A43D1

Accessibility & contrast

On white

13.56
#231E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#231E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E7C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E7C#FFFFFF#000000##FFFFFF
##231E7C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231e7c;
/* rgb */ color: rgb(35, 30, 124);
/* oklch */ color: oklch(31.6% 0.151 275.7);
Tailwind
colors: {
  custom: {
    50: '#6c5ba3',
    500: '#231e7c',
    950: '#000000',
  },
}
SCSS
$custom: #231e7c;
$custom-light: #6c5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#231e7c",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 243.191,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31607,
    "c": 0.15141,
    "h": 275.7
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#231E7C
secondary
#AAAF46
accent
#E444DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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