#232287#232287

#232287 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.161 H 273.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#232287
RGBrgb(35, 34, 135)
HSLhsl(241, 60%, 33%)
HSVhsv(241, 75%, 53%)
CMYKcmyk(74.1%, 74.8%, 0%, 47.1%)
CIE-LABlab(21.02, 35.42, -55.71)
CIE-LCHlch(21.02, 66.02, 302.45°)
OKLaboklab(33.42% 0.0105 -0.1611)
OKLCHoklch(33.42% 0.161 273.7)
XYZxyz(5.6369, 3.2501, 23.2472)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232287 #868722
analogous
#225387 #232287 #552287
triadic
#232287 #872322 #228723
tetradic
#232287 #872253 #868722 #228755
square
#232287 #872253 #868722 #228755
split-complementary
#232287 #875522 #538722
monochromatic
#0A0925 #161656 #232287 #302EB8 #5250D3

Accessibility & contrast

On white

12.73
#232287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#232287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232287
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232287#FFFFFF#000000##FFFFFF
##2322871.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232287;
/* rgb */ color: rgb(35, 34, 135);
/* oklch */ color: oklch(33.4% 0.161 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f5eab',
    500: '#232287',
    950: '#000000',
  },
}
SCSS
$custom: #232287;
$custom-light: #6f5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#232287",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 240.594,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33415,
    "c": 0.16148,
    "h": 273.7
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#232287
secondary
#B5B74E
accent
#E345E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232287

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

Preview Lab → · Contrast checker → · Palette generator →

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