#232885#232885

#232885 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.152 H 272.7°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#232885
RGBrgb(35, 40, 133)
HSLhsl(237, 58%, 33%)
HSVhsv(237, 74%, 52%)
CMYKcmyk(73.7%, 69.9%, 0%, 47.8%)
CIE-LABlab(22.19, 30.93, -52.53)
CIE-LCHlch(22.19, 60.96, 300.49°)
OKLaboklab(34.19% 0.0072 -0.1519)
OKLCHoklch(34.19% 0.152 272.7)
XYZxyz(5.6841, 3.5678, 22.5748)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232885 #858023
analogous
#235985 #232885 #4F2385
triadic
#232885 #852328 #288523
tetradic
#232885 #852359 #858023 #23854F
square
#232885 #852359 #858023 #23854F
split-complementary
#232885 #854F23 #598523
monochromatic
#090B24 #161955 #232885 #3037B5 #5158D1

Accessibility & contrast

On white

12.25
#232885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#232885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232885
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232885#FFFFFF#000000##FFFFFF
##2328851.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232885;
/* rgb */ color: rgb(35, 40, 133);
/* oklch */ color: oklch(34.2% 0.152 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e62a9',
    500: '#232885',
    950: '#000000',
  },
}
SCSS
$custom: #232885;
$custom-light: #6e62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#232885",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 236.939,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34193,
    "c": 0.15204,
    "h": 272.7
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#232885
secondary
#B5B04F
accent
#DA46E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232885

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

Preview Lab → · Contrast checker → · Palette generator →

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