#232BA7#232BA7

#232BA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.193 H 270.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#232BA7
RGBrgb(35, 43, 167)
HSLhsl(236, 65%, 40%)
HSVhsv(236, 79%, 65%)
CMYKcmyk(79%, 74.3%, 0%, 34.5%)
CIE-LABlab(26.37, 41.21, -66.56)
CIE-LCHlch(26.37, 78.29, 301.76°)
OKLaboklab(38.25% 0.001 -0.1928)
OKLCHoklch(38.25% 0.193 270.3)
XYZxyz(8.5297, 4.8741, 37.0430)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232BA7 #A79F23
analogous
#236DA7 #232BA7 #5D23A7
triadic
#232BA7 #A7232B #2BA723
tetradic
#232BA7 #A7236D #A79F23 #23A75D
square
#232BA7 #A7236D #A79F23 #23A75D
split-complementary
#232BA7 #A75D23 #6DA723
monochromatic
#0E1142 #181E74 #232BA7 #333DD4 #666DDF

Accessibility & contrast

On white

10.63
#232BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#232BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232BA7
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232BA7#FFFFFF#000000##FFFFFF
##232BA71.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232ba7;
/* rgb */ color: rgb(35, 43, 167);
/* oklch */ color: oklch(38.3% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#7666c2',
    500: '#232ba7',
    950: '#000000',
  },
}
SCSS
$custom: #232ba7;
$custom-light: #7666c2;
$custom-dark: #000000;
JSON
{
  "hex": "#232ba7",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 236.364,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.19278,
    "h": 270.3
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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