#231775#231775

#231775 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.150 H 278.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#231775
RGBrgb(35, 23, 117)
HSLhsl(248, 67%, 27%)
HSVhsv(248, 80%, 46%)
CMYKcmyk(70.1%, 80.3%, 0%, 54.1%)
CIE-LABlab(16.77, 35.66, -51.28)
CIE-LCHlch(16.77, 62.46, 304.81°)
OKLaboklab(29.82% 0.0208 -0.1481)
OKLCHoklch(29.82% 0.15 278)
XYZxyz(4.2094, 2.2541, 17.0394)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231775 #697517
analogous
#173A75 #231775 #521775
triadic
#231775 #752317 #177523
tetradic
#231775 #75173A #697517 #177552
square
#231775 #75173A #697517 #177552
split-complementary
#231775 #755217 #3A7517
monochromatic
#08051A #140D42 #231775 #3221A8 #4530D6

Accessibility & contrast

On white

14.47
#231775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231775
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231775#FFFFFF#000000##FFFFFF
##2317751.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231775;
/* rgb */ color: rgb(35, 23, 117);
/* oklch */ color: oklch(29.8% 0.150 278.0);
Tailwind
colors: {
  custom: {
    50: '#6b569e',
    500: '#231775',
    950: '#000000',
  },
}
SCSS
$custom: #231775;
$custom-light: #6b569e;
$custom-dark: #000000;
JSON
{
  "hex": "#231775",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 247.66,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29819,
    "c": 0.14959,
    "h": 278
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#231775
secondary
#9CAA3D
accent
#EA3ED4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231775

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

Preview Lab → · Contrast checker → · Palette generator →

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