#235CAC#235CAC

#235CAC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.141 H 257.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#235CAC
RGBrgb(35, 92, 172)
HSLhsl(215, 66%, 41%)
HSVhsv(215, 80%, 67%)
CMYKcmyk(79.7%, 46.5%, 0%, 32.5%)
CIE-LABlab(39.56, 11.09, -48.05)
CIE-LCHlch(39.56, 49.32, 283.00°)
OKLaboklab(48.23% -0.0299 -0.1379)
OKLCHoklch(48.23% 0.141 257.8)
XYZxyz(11.9639, 10.9888, 40.5122)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235CAC #AC7323
analogous
#23A1AC #235CAC #2E23AC
triadic
#235CAC #AC235C #5CAC23
tetradic
#235CAC #AC23A1 #AC7323 #23AC2E
square
#235CAC #AC23A1 #AC7323 #23AC2E
split-complementary
#235CAC #AC2E23 #A1AC23
monochromatic
#0E2646 #194179 #235CAC #3679D6 #699BE0

Accessibility & contrast

On white

6.57
#235CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#235CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235CAC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235CAC#FFFFFF#000000##FFFFFF
##235CAC1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#0E57AA
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #235cac;
/* rgb */ color: rgb(35, 92, 172);
/* oklch */ color: oklch(48.2% 0.141 257.8);
Tailwind
colors: {
  custom: {
    50: '#7489c5',
    500: '#235cac',
    950: '#000000',
  },
}
SCSS
$custom: #235cac;
$custom-light: #7489c5;
$custom-dark: #000000;
JSON
{
  "hex": "#235cac",
  "rgb": {
    "r": 35,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 215.036,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.14114,
    "h": 257.8
  },
  "luminance": 0.1099
}

Semantic roles & 50–950 ramp

primary
#235CAC
secondary
#C69E64
accent
#A23FE9
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #235CAC

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

Preview Lab → · Contrast checker → · Palette generator →

#235CAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva