#231283#231283

#231283 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.9% C 0.171 H 276.3°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#231283
RGBrgb(35, 18, 131)
HSLhsl(249, 76%, 29%)
HSVhsv(249, 86%, 51%)
CMYKcmyk(73.3%, 86.3%, 0%, 48.6%)
CIE-LABlab(17.59, 42.62, -58.86)
CIE-LCHlch(17.59, 72.67, 305.91°)
OKLaboklab(30.88% 0.0189 -0.1701)
OKLCHoklch(30.88% 0.171 276.3)
XYZxyz(5.0048, 2.4282, 21.6733)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231283 #728312
analogous
#123983 #231283 #5C1283
triadic
#231283 #832312 #128323
tetradic
#231283 #831239 #728312 #12835C
square
#231283 #831239 #728312 #12835C
split-complementary
#231283 #835C12 #398312
monochromatic
#07041B #150B4D #231283 #3119B9 #482DE2

Accessibility & contrast

On white

14.13
#231283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231283
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231283#FFFFFF#000000##FFFFFF
##2312831.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002681
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231283;
/* rgb */ color: rgb(35, 18, 131);
/* oklch */ color: oklch(30.9% 0.171 276.3);
Tailwind
colors: {
  custom: {
    50: '#6f55a8',
    500: '#231283',
    950: '#000000',
  },
}
SCSS
$custom: #231283;
$custom-light: #6f55a8;
$custom-dark: #000000;
JSON
{
  "hex": "#231283",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 249.027,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30879,
    "c": 0.17113,
    "h": 276.3
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#231283
secondary
#A5B838
accent
#F235D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231283

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

Preview Lab → · Contrast checker → · Palette generator →

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