#231773#231773

#231773 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.147 H 278.3°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#231773
RGBrgb(35, 23, 115)
HSLhsl(248, 67%, 27%)
HSVhsv(248, 80%, 45%)
CMYKcmyk(69.6%, 80%, 0%, 54.9%)
CIE-LABlab(16.54, 34.99, -50.36)
CIE-LCHlch(16.54, 61.33, 304.79°)
OKLaboklab(29.59% 0.0214 -0.1455)
OKLCHoklch(29.59% 0.147 278.3)
XYZxyz(4.0930, 2.2076, 16.4267)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231773 #677317
analogous
#173973 #231773 #511773
triadic
#231773 #732317 #177323
tetradic
#231773 #731739 #677317 #177351
square
#231773 #731739 #677317 #177351
split-complementary
#231773 #735117 #397317
monochromatic
#08051A #130D40 #231773 #3321A6 #452FD5

Accessibility & contrast

On white

14.57
#231773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#231773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231773
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231773#FFFFFF#000000##FFFFFF
##2317731.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231773;
/* rgb */ color: rgb(35, 23, 115);
/* oklch */ color: oklch(29.6% 0.147 278.3);
Tailwind
colors: {
  custom: {
    50: '#6b569c',
    500: '#231773',
    950: '#000000',
  },
}
SCSS
$custom: #231773;
$custom-light: #6b569c;
$custom-dark: #000000;
JSON
{
  "hex": "#231773",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 247.826,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29592,
    "c": 0.14703,
    "h": 278.3
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#231773
secondary
#9BA93D
accent
#EA3ED3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231773

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

Preview Lab → · Contrast checker → · Palette generator →

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