#232285#232285

#232285 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.159 H 273.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#232285
RGBrgb(35, 34, 133)
HSLhsl(241, 59%, 33%)
HSVhsv(241, 74%, 52%)
CMYKcmyk(73.7%, 74.4%, 0%, 47.8%)
CIE-LABlab(20.81, 34.72, -54.81)
CIE-LCHlch(20.81, 64.88, 302.35°)
OKLaboklab(33.2% 0.0109 -0.1585)
OKLCHoklch(33.2% 0.159 273.9)
XYZxyz(5.4974, 3.1943, 22.5126)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232285 #848522
analogous
#225285 #232285 #542285
triadic
#232285 #852322 #228523
tetradic
#232285 #852252 #848522 #228554
square
#232285 #852252 #848522 #228554
split-complementary
#232285 #855422 #528522
monochromatic
#090924 #161654 #232285 #302EB6 #514FD2

Accessibility & contrast

On white

12.81
#232285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#232285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232285
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232285#FFFFFF#000000##FFFFFF
##2322851.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232285;
/* rgb */ color: rgb(35, 34, 133);
/* oklch */ color: oklch(33.2% 0.159 273.9);
Tailwind
colors: {
  custom: {
    50: '#6e5eaa',
    500: '#232285',
    950: '#000000',
  },
}
SCSS
$custom: #232285;
$custom-light: #6e5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#232285",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 240.606,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.332,
    "c": 0.15887,
    "h": 273.9
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#232285
secondary
#B4B64D
accent
#E245E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232285

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

Preview Lab → · Contrast checker → · Palette generator →

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