#231485#231485

#231485 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.172 H 275.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#231485
RGBrgb(35, 20, 133)
HSLhsl(248, 74%, 30%)
HSVhsv(248, 85%, 52%)
CMYKcmyk(73.7%, 85%, 0%, 47.8%)
CIE-LABlab(18.15, 42.33, -59.20)
CIE-LCHlch(18.15, 72.78, 305.57°)
OKLaboklab(31.33% 0.0175 -0.1711)
OKLCHoklch(31.33% 0.172 275.8)
XYZxyz(5.1755, 2.5506, 22.4053)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231485 #768514
analogous
#143D85 #231485 #5C1485
triadic
#231485 #852314 #148523
tetradic
#231485 #85143D #768514 #14855C
square
#231485 #85143D #768514 #14855C
split-complementary
#231485 #855C14 #3D8514
monochromatic
#07041B #150C50 #231485 #311CBA #4A33E0

Accessibility & contrast

On white

13.91
#231485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#231485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231485
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231485#FFFFFF#000000##FFFFFF
##2314851.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003188
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231485;
/* rgb */ color: rgb(35, 20, 133);
/* oklch */ color: oklch(31.3% 0.172 275.8);
Tailwind
colors: {
  custom: {
    50: '#6f56aa',
    500: '#231485',
    950: '#000000',
  },
}
SCSS
$custom: #231485;
$custom-light: #6f56aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231485",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 133
  },
  "hsl": {
    "h": 247.965,
    "s": 73.856,
    "l": 30
  },
  "oklch": {
    "l": 0.31333,
    "c": 0.17201,
    "h": 275.8
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#231485
secondary
#A9BA3B
accent
#F137D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231485

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

Preview Lab → · Contrast checker → · Palette generator →

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