#232BA6#232BA6

#232BA6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.192 H 270.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#232BA6
RGBrgb(35, 43, 166)
HSLhsl(236, 65%, 39%)
HSVhsv(236, 79%, 65%)
CMYKcmyk(78.9%, 74.1%, 0%, 34.9%)
CIE-LABlab(26.27, 40.87, -66.13)
CIE-LCHlch(26.27, 77.74, 301.71°)
OKLaboklab(38.15% 0.0011 -0.1915)
OKLCHoklch(38.15% 0.192 270.3)
XYZxyz(8.4376, 4.8373, 36.5580)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232BA6 #A69E23
analogous
#236DA6 #232BA6 #5D23A6
triadic
#232BA6 #A6232B #2BA623
tetradic
#232BA6 #A6236D #A69E23 #23A65D
square
#232BA6 #A6236D #A69E23 #23A65D
split-complementary
#232BA6 #A65D23 #6DA623
monochromatic
#0E1141 #181E73 #232BA6 #323CD4 #656CDF

Accessibility & contrast

On white

10.67
#232BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#232BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232BA6
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232BA6#FFFFFF#000000##FFFFFF
##232BA61.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232ba6;
/* rgb */ color: rgb(35, 43, 166);
/* oklch */ color: oklch(38.1% 0.192 270.3);
Tailwind
colors: {
  custom: {
    50: '#7665c2',
    500: '#232ba6',
    950: '#000000',
  },
}
SCSS
$custom: #232ba6;
$custom-light: #7665c2;
$custom-dark: #000000;
JSON
{
  "hex": "#232ba6",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 236.336,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38145,
    "c": 0.19153,
    "h": 270.3
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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