#232882#232882

#232882 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.148 H 272.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#232882
RGBrgb(35, 40, 130)
HSLhsl(237, 58%, 32%)
HSVhsv(237, 73%, 51%)
CMYKcmyk(73.1%, 69.2%, 0%, 49%)
CIE-LABlab(21.89, 29.82, -51.13)
CIE-LCHlch(21.89, 59.19, 300.25°)
OKLaboklab(33.89% 0.0075 -0.1478)
OKLCHoklch(33.89% 0.148 272.9)
XYZxyz(5.4798, 3.4861, 21.4989)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232882 #827D23
analogous
#235882 #232882 #4D2382
triadic
#232882 #822328 #288223
tetradic
#232882 #822358 #827D23 #23824D
square
#232882 #822358 #827D23 #23824D
split-complementary
#232882 #824D23 #588223
monochromatic
#090A22 #161952 #232882 #3037B2 #5056D0

Accessibility & contrast

On white

12.37
#232882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#232882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232882
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232882#FFFFFF#000000##FFFFFF
##2328821.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232882;
/* rgb */ color: rgb(35, 40, 130);
/* oklch */ color: oklch(33.9% 0.148 272.9);
Tailwind
colors: {
  custom: {
    50: '#6d62a7',
    500: '#232882',
    950: '#000000',
  },
}
SCSS
$custom: #232882;
$custom-light: #6d62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#232882",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 236.842,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33891,
    "c": 0.14795,
    "h": 272.9
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#232882
secondary
#B3AE4D
accent
#D947E1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232882

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

Preview Lab → · Contrast checker → · Palette generator →

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