#232795#232795

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

Color values

HEX#232795
RGBrgb(35, 39, 149)
HSLhsl(238, 62%, 36%)
HSVhsv(238, 77%, 58%)
CMYKcmyk(76.5%, 73.8%, 0%, 41.6%)
CIE-LABlab(23.60, 37.31, -60.16)
CIE-LCHlch(23.60, 70.80, 301.81°)
OKLaboklab(35.7% 0.0056 -0.1741)
OKLCHoklch(35.7% 0.174 271.8)
XYZxyz(6.8416, 3.9776, 28.8351)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232795 #959123
analogous
#236095 #232795 #582395
triadic
#232795 #952327 #279523
tetradic
#232795 #952360 #959123 #239558
square
#232795 #952360 #959123 #239558
split-complementary
#232795 #955823 #609523
monochromatic
#0C0D32 #171A63 #232795 #2F34C7 #5A5FD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##232795#FFFFFF#000000##FFFFFF
##2327951.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)
#003E98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232795;
/* rgb */ color: rgb(35, 39, 149);
/* oklch */ color: oklch(35.7% 0.174 271.8);
Tailwind
colors: {
  custom: {
    50: '#7262b5',
    500: '#232795',
    950: '#000000',
  },
}
SCSS
$custom: #232795;
$custom-light: #7262b5;
$custom-dark: #000000;
JSON
{
  "hex": "#232795",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 237.895,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35701,
    "c": 0.17423,
    "h": 271.8
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#232795
secondary
#BDB957
accent
#DF43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232795

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

Preview Lab → · Contrast checker → · Palette generator →

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