#232297#232297

#232297 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.182 H 272.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#232297
RGBrgb(35, 34, 151)
HSLhsl(241, 63%, 36%)
HSVhsv(241, 77%, 59%)
CMYKcmyk(76.8%, 77.5%, 0%, 40.8%)
CIE-LABlab(22.78, 40.93, -62.75)
CIE-LCHlch(22.78, 74.92, 303.12°)
OKLaboklab(35.18% 0.0075 -0.1816)
OKLCHoklch(35.18% 0.182 272.4)
XYZxyz(6.8492, 3.7350, 29.6321)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232297 #969722
analogous
#225C97 #232297 #5E2297
triadic
#232297 #972322 #229723
tetradic
#232297 #97225C #969722 #22975E
square
#232297 #97225C #969722 #22975E
split-complementary
#232297 #975E22 #5C9722
monochromatic
#0C0C33 #171765 #232297 #2F2DC9 #5B5ADA

Accessibility & contrast

On white

12.02
#232297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#232297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232297
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232297#FFFFFF#000000##FFFFFF
##2322971.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232297;
/* rgb */ color: rgb(35, 34, 151);
/* oklch */ color: oklch(35.2% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#735fb7',
    500: '#232297',
    950: '#000000',
  },
}
SCSS
$custom: #232297;
$custom-light: #735fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#232297",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 240.513,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35182,
    "c": 0.18178,
    "h": 272.4
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#232297
secondary
#BDBE57
accent
#E642E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232297

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

Preview Lab → · Contrast checker → · Palette generator →

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