#232697#232697

#232697 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.178 H 271.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#232697
RGBrgb(35, 38, 151)
HSLhsl(238, 62%, 36%)
HSVhsv(238, 77%, 59%)
CMYKcmyk(76.8%, 74.8%, 0%, 40.8%)
CIE-LABlab(23.60, 38.61, -61.40)
CIE-LCHlch(23.60, 72.53, 302.17°)
OKLaboklab(35.76% 0.0057 -0.1777)
OKLCHoklch(35.76% 0.178 271.8)
XYZxyz(6.9703, 3.9772, 29.6725)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232697 #979423
analogous
#236097 #232697 #5A2397
triadic
#232697 #972326 #269723
tetradic
#232697 #972360 #979423 #23975A
square
#232697 #972360 #979423 #23975A
split-complementary
#232697 #975A23 #609723
monochromatic
#0C0D34 #171965 #232697 #2F33C9 #5B5FD9

Accessibility & contrast

On white

11.70
#232697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#232697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232697
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232697#FFFFFF#000000##FFFFFF
##2326971.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232697;
/* rgb */ color: rgb(35, 38, 151);
/* oklch */ color: oklch(35.8% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#7262b7',
    500: '#232697',
    950: '#000000',
  },
}
SCSS
$custom: #232697;
$custom-light: #7262b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232697",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 238.448,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.17781,
    "h": 271.8
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#232697
secondary
#BEBB58
accent
#E142E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232697

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

Preview Lab → · Contrast checker → · Palette generator →

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