#232FA7#232FA7

#232FA7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.189 H 269.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#232FA7
RGBrgb(35, 47, 167)
HSLhsl(235, 65%, 40%)
HSVhsv(235, 79%, 65%)
CMYKcmyk(79%, 71.9%, 0%, 34.5%)
CIE-LABlab(27.24, 38.80, -65.13)
CIE-LCHlch(27.24, 75.81, 300.79°)
OKLaboklab(38.87% -0.0007 -0.1886)
OKLCHoklch(38.87% 0.189 269.8)
XYZxyz(8.6823, 5.1794, 37.0939)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232FA7 #A79B23
analogous
#2371A7 #232FA7 #5923A7
triadic
#232FA7 #A7232F #2FA723
tetradic
#232FA7 #A72371 #A79B23 #23A759
square
#232FA7 #A72371 #A79B23 #23A759
split-complementary
#232FA7 #A75923 #71A723
monochromatic
#0E1342 #182174 #232FA7 #3342D4 #6671DF

Accessibility & contrast

On white

10.31
#232FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#232FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232FA7
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232FA7#FFFFFF#000000##FFFFFF
##232FA71.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #232fa7;
/* rgb */ color: rgb(35, 47, 167);
/* oklch */ color: oklch(38.9% 0.189 269.8);
Tailwind
colors: {
  custom: {
    50: '#7568c2',
    500: '#232fa7',
    950: '#000000',
  },
}
SCSS
$custom: #232fa7;
$custom-light: #7568c2;
$custom-dark: #000000;
JSON
{
  "hex": "#232fa7",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 234.545,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.18863,
    "h": 269.8
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#232FA7
secondary
#C4BB61
accent
#D93FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #232FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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