#231985#231985

#231985 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.168 H 275.3°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#231985
RGBrgb(35, 25, 133)
HSLhsl(246, 68%, 31%)
HSVhsv(246, 81%, 52%)
CMYKcmyk(73.7%, 81.2%, 0%, 47.8%)
CIE-LABlab(18.99, 39.86, -57.80)
CIE-LCHlch(18.99, 70.21, 304.59°)
OKLaboklab(31.92% 0.0155 -0.1671)
OKLCHoklch(31.92% 0.168 275.3)
XYZxyz(5.2730, 2.7455, 22.4378)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231985 #7B8519
analogous
#194585 #231985 #591985
triadic
#231985 #852319 #198523
tetradic
#231985 #851945 #7B8519 #198559
square
#231985 #851945 #7B8519 #198559
split-complementary
#231985 #855919 #458519
monochromatic
#08061E #150F51 #231985 #3123B9 #4C3EDB

Accessibility & contrast

On white

13.56
#231985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#231985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##231985#FFFFFF#000000##FFFFFF
##2319851.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)
#003388
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231985;
/* rgb */ color: rgb(35, 25, 133);
/* oklch */ color: oklch(31.9% 0.168 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f59aa',
    500: '#231985',
    950: '#000000',
  },
}
SCSS
$custom: #231985;
$custom-light: #6f59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231985",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 245.556,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31921,
    "c": 0.16784,
    "h": 275.3
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#231985
secondary
#AEB941
accent
#EB3DDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231985

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

Preview Lab → · Contrast checker → · Palette generator →

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