#231674#231674

#231674 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.149 H 278.3°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#231674
RGBrgb(35, 22, 116)
HSLhsl(248, 68%, 27%)
HSVhsv(248, 81%, 45%)
CMYKcmyk(69.8%, 81%, 0%, 54.5%)
CIE-LABlab(16.46, 35.88, -51.14)
CIE-LCHlch(16.46, 62.47, 305.05°)
OKLaboklab(29.57% 0.0217 -0.1477)
OKLCHoklch(29.57% 0.149 278.3)
XYZxyz(4.1314, 2.1917, 16.7249)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231674 #677416
analogous
#163874 #231674 #521674
triadic
#231674 #742316 #167423
tetradic
#231674 #741638 #677416 #167452
square
#231674 #741638 #677416 #167452
split-complementary
#231674 #745216 #387416
monochromatic
#08051A #130C41 #231674 #3320A7 #452DD7

Accessibility & contrast

On white

14.60
#231674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#231674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231674
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231674#FFFFFF#000000##FFFFFF
##2316741.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231674;
/* rgb */ color: rgb(35, 22, 116);
/* oklch */ color: oklch(29.6% 0.149 278.3);
Tailwind
colors: {
  custom: {
    50: '#6b569d',
    500: '#231674',
    950: '#000000',
  },
}
SCSS
$custom: #231674;
$custom-light: #6b569d;
$custom-dark: #000000;
JSON
{
  "hex": "#231674",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 248.298,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29571,
    "c": 0.1493,
    "h": 278.3
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#231674
secondary
#9BAA3C
accent
#EB3DD3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231674

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

Preview Lab → · Contrast checker → · Palette generator →

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