#231677#231677

#231677 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.153 H 277.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#231677
RGBrgb(35, 22, 119)
HSLhsl(248, 69%, 28%)
HSVhsv(248, 82%, 47%)
CMYKcmyk(70.6%, 81.5%, 0%, 53.3%)
CIE-LABlab(16.81, 36.86, -52.50)
CIE-LCHlch(16.81, 64.15, 305.07°)
OKLaboklab(29.92% 0.0208 -0.1517)
OKLCHoklch(29.92% 0.153 277.8)
XYZxyz(4.3087, 2.2627, 17.6589)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231677 #6A7716
analogous
#163A77 #231677 #531677
triadic
#231677 #772316 #167723
tetradic
#231677 #77163A #6A7716 #167753
square
#231677 #77163A #6A7716 #167753
split-complementary
#231677 #775316 #3A7716
monochromatic
#08051A #140C43 #231677 #3220AB #462FD9

Accessibility & contrast

On white

14.46
#231677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231677
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231677#FFFFFF#000000##FFFFFF
##2316771.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231677;
/* rgb */ color: rgb(35, 22, 119);
/* oklch */ color: oklch(29.9% 0.153 277.8);
Tailwind
colors: {
  custom: {
    50: '#6c569f',
    500: '#231677',
    950: '#000000',
  },
}
SCSS
$custom: #231677;
$custom-light: #6c569f;
$custom-dark: #000000;
JSON
{
  "hex": "#231677",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 248.041,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29916,
    "c": 0.1531,
    "h": 277.8
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#231677
secondary
#9DAC3C
accent
#EC3CD4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #231677

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

Preview Lab → · Contrast checker → · Palette generator →

#231677 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva