#232775#232775

#232775 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.131 H 274.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#232775
RGBrgb(35, 39, 117)
HSLhsl(237, 54%, 30%)
HSVhsv(237, 70%, 46%)
CMYKcmyk(70.1%, 66.7%, 0%, 54.1%)
CIE-LABlab(20.41, 25.65, -45.30)
CIE-LCHlch(20.41, 52.05, 299.52°)
OKLaboklab(32.43% 0.0095 -0.1307)
OKLCHoklch(32.43% 0.131 274.2)
XYZxyz(4.6285, 3.0923, 17.1791)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232775 #757123
analogous
#235075 #232775 #482375
triadic
#232775 #752327 #277523
tetradic
#232775 #752350 #757123 #237548
square
#232775 #752350 #757123 #237548
split-complementary
#232775 #754823 #507523
monochromatic
#070818 #151746 #232775 #3137A4 #4A50C9

Accessibility & contrast

On white

12.97
#232775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#232775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232775
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232775#FFFFFF#000000##FFFFFF
##2327751.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232775;
/* rgb */ color: rgb(35, 39, 117);
/* oklch */ color: oklch(32.4% 0.131 274.2);
Tailwind
colors: {
  custom: {
    50: '#6a619e',
    500: '#232775',
    950: '#000000',
  },
}
SCSS
$custom: #232775;
$custom-light: #6a619e;
$custom-dark: #000000;
JSON
{
  "hex": "#232775",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 117
  },
  "hsl": {
    "h": 237.073,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3243,
    "c": 0.13103,
    "h": 274.2
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#232775
secondary
#A8A34C
accent
#D64ADD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232775

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

Preview Lab → · Contrast checker → · Palette generator →

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