#232883#232883

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

Color values

HEX#232883
RGBrgb(35, 40, 131)
HSLhsl(237, 58%, 33%)
HSVhsv(237, 73%, 51%)
CMYKcmyk(73.3%, 69.5%, 0%, 48.6%)
CIE-LABlab(21.99, 30.19, -51.60)
CIE-LCHlch(21.99, 59.78, 300.33°)
OKLaboklab(33.99% 0.0074 -0.1491)
OKLCHoklch(33.99% 0.149 272.9)
XYZxyz(5.5473, 3.5131, 21.8541)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232883 #837E23
analogous
#235883 #232883 #4E2383
triadic
#232883 #832328 #288323
tetradic
#232883 #832358 #837E23 #23834E
square
#232883 #832358 #837E23 #23834E
split-complementary
#232883 #834E23 #588323
monochromatic
#090B22 #161953 #232883 #3037B3 #5057D0

Accessibility & contrast

On white

12.33
#232883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232883
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232883#FFFFFF#000000##FFFFFF
##2328831.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232883;
/* rgb */ color: rgb(35, 40, 131);
/* oklch */ color: oklch(34.0% 0.149 272.9);
Tailwind
colors: {
  custom: {
    50: '#6d62a8',
    500: '#232883',
    950: '#000000',
  },
}
SCSS
$custom: #232883;
$custom-light: #6d62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#232883",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 236.875,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33991,
    "c": 0.14932,
    "h": 272.9
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232883

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

Preview Lab → · Contrast checker → · Palette generator →

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