#231966#231966

#231966 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.128 H 280.4°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#231966
RGBrgb(35, 25, 102)
HSLhsl(248, 61%, 25%)
HSVhsv(248, 75%, 40%)
CMYKcmyk(65.7%, 75.5%, 0%, 60%)
CIE-LABlab(15.55, 29.38, -43.52)
CIE-LCHlch(15.55, 52.51, 304.02°)
OKLaboklab(28.47% 0.0231 -0.1255)
OKLCHoklch(28.47% 0.128 280.4)
XYZxyz(3.4383, 2.0116, 12.7749)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231966 #5C6619
analogous
#193666 #231966 #491966
triadic
#231966 #662319 #196623
tetradic
#231966 #661936 #5C6619 #196649
square
#231966 #661936 #5C6619 #196649
split-complementary
#231966 #664919 #366619
monochromatic
#080619 #120D35 #231966 #342597 #4531C8

Accessibility & contrast

On white

14.97
#231966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#231966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231966
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231966#FFFFFF#000000##FFFFFF
##2319661.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231966;
/* rgb */ color: rgb(35, 25, 102);
/* oklch */ color: oklch(28.5% 0.128 280.4);
Tailwind
colors: {
  custom: {
    50: '#685792',
    500: '#231966',
    950: '#000000',
  },
}
SCSS
$custom: #231966;
$custom-light: #685792;
$custom-dark: #000000;
JSON
{
  "hex": "#231966",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 247.792,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28466,
    "c": 0.12761,
    "h": 280.4
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#231966
secondary
#909C3F
accent
#E444CF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231966

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

Preview Lab → · Contrast checker → · Palette generator →

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