#232895#232895

#232895 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.173 H 271.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#232895
RGBrgb(35, 40, 149)
HSLhsl(237, 62%, 36%)
HSVhsv(237, 77%, 58%)
CMYKcmyk(76.5%, 73.2%, 0%, 41.6%)
CIE-LABlab(23.82, 36.70, -59.80)
CIE-LCHlch(23.82, 70.17, 301.54°)
OKLaboklab(35.86% 0.0051 -0.1731)
OKLCHoklch(35.86% 0.173 271.7)
XYZxyz(6.8749, 4.0441, 28.8462)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232895 #959023
analogous
#236195 #232895 #572395
triadic
#232895 #952328 #289523
tetradic
#232895 #952361 #959023 #239557
square
#232895 #952361 #959023 #239557
split-complementary
#232895 #955723 #619523
monochromatic
#0C0D32 #171B63 #232895 #2F35C7 #5A60D8

Accessibility & contrast

On white

11.61
#232895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#232895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232895
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232895#FFFFFF#000000##FFFFFF
##2328951.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #232895;
/* rgb */ color: rgb(35, 40, 149);
/* oklch */ color: oklch(35.9% 0.173 271.7);
Tailwind
colors: {
  custom: {
    50: '#7263b5',
    500: '#232895',
    950: '#000000',
  },
}
SCSS
$custom: #232895;
$custom-light: #7263b5;
$custom-dark: #000000;
JSON
{
  "hex": "#232895",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 237.368,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35858,
    "c": 0.17316,
    "h": 271.7
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#232895
secondary
#BDB857
accent
#DE43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232895

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

Preview Lab → · Contrast checker → · Palette generator →

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