#232CA7#232CA7

#232CA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.192 H 270.2°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#232CA7
RGBrgb(35, 44, 167)
HSLhsl(236, 65%, 40%)
HSVhsv(236, 79%, 65%)
CMYKcmyk(79%, 73.7%, 0%, 34.5%)
CIE-LABlab(26.59, 40.62, -66.21)
CIE-LCHlch(26.59, 77.68, 301.53°)
OKLaboklab(38.41% 0.0006 -0.1918)
OKLCHoklch(38.41% 0.192 270.2)
XYZxyz(8.5665, 4.9477, 37.0552)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232CA7 #A79E23
analogous
#236EA7 #232CA7 #5C23A7
triadic
#232CA7 #A7232C #2CA723
tetradic
#232CA7 #A7236E #A79E23 #23A75C
square
#232CA7 #A7236E #A79E23 #23A75C
split-complementary
#232CA7 #A75C23 #6EA723
monochromatic
#0E1142 #181F74 #232CA7 #333ED4 #666EDF

Accessibility & contrast

On white

10.55
#232CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#232CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232CA7
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232CA7#FFFFFF#000000##FFFFFF
##232CA71.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #232ca7;
/* rgb */ color: rgb(35, 44, 167);
/* oklch */ color: oklch(38.4% 0.192 270.2);
Tailwind
colors: {
  custom: {
    50: '#7666c2',
    500: '#232ca7',
    950: '#000000',
  },
}
SCSS
$custom: #232ca7;
$custom-light: #7666c2;
$custom-dark: #000000;
JSON
{
  "hex": "#232ca7",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 235.909,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38405,
    "c": 0.19176,
    "h": 270.2
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#232CA7
secondary
#C4BE61
accent
#DD3FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #232CA7

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

Preview Lab → · Contrast checker → · Palette generator →

#232CA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva