#232897#232897

#232897 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.176 H 271.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#232897
RGBrgb(35, 40, 151)
HSLhsl(237, 62%, 36%)
HSVhsv(237, 77%, 59%)
CMYKcmyk(76.8%, 73.5%, 0%, 40.8%)
CIE-LABlab(24.03, 37.41, -60.69)
CIE-LCHlch(24.03, 71.29, 301.65°)
OKLaboklab(36.07% 0.0048 -0.1757)
OKLCHoklch(36.07% 0.176 271.6)
XYZxyz(7.0360, 4.1085, 29.6944)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232897 #979223
analogous
#236297 #232897 #582397
triadic
#232897 #972328 #289723
tetradic
#232897 #972362 #979223 #239758
square
#232897 #972362 #979223 #239758
split-complementary
#232897 #975823 #629723
monochromatic
#0C0E34 #171B65 #232897 #2F35C9 #5B61D9

Accessibility & contrast

On white

11.53
#232897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#232897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232897
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232897#FFFFFF#000000##FFFFFF
##2328971.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #232897;
/* rgb */ color: rgb(35, 40, 151);
/* oklch */ color: oklch(36.1% 0.176 271.6);
Tailwind
colors: {
  custom: {
    50: '#7263b7',
    500: '#232897',
    950: '#000000',
  },
}
SCSS
$custom: #232897;
$custom-light: #7263b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232897",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 237.414,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36071,
    "c": 0.17572,
    "h": 271.6
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#232897
secondary
#BEB958
accent
#DE42E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232897

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

Preview Lab → · Contrast checker → · Palette generator →

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