#235AAC#235AAC

#235AAC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.144 H 258.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#235AAC
RGBrgb(35, 90, 172)
HSLhsl(216, 66%, 41%)
HSVhsv(216, 80%, 67%)
CMYKcmyk(79.7%, 47.7%, 0%, 32.5%)
CIE-LABlab(38.98, 12.40, -48.99)
CIE-LCHlch(38.98, 50.54, 284.21°)
OKLaboklab(47.78% -0.0283 -0.1407)
OKLCHoklch(47.78% 0.144 258.6)
XYZxyz(11.7930, 10.6468, 40.4552)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235AAC #AC7523
analogous
#239FAC #235AAC #3023AC
triadic
#235AAC #AC235A #5AAC23
tetradic
#235AAC #AC239F #AC7523 #23AC30
square
#235AAC #AC239F #AC7523 #23AC30
split-complementary
#235AAC #AC3023 #9FAC23
monochromatic
#0E2546 #193F79 #235AAC #3676D6 #6999E0

Accessibility & contrast

On white

6.71
#235AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#235AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235AAC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235AAC#FFFFFF#000000##FFFFFF
##235AAC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #235aac;
/* rgb */ color: rgb(35, 90, 172);
/* oklch */ color: oklch(47.8% 0.144 258.6);
Tailwind
colors: {
  custom: {
    50: '#7488c5',
    500: '#235aac',
    950: '#000000',
  },
}
SCSS
$custom: #235aac;
$custom-light: #7488c5;
$custom-dark: #000000;
JSON
{
  "hex": "#235aac",
  "rgb": {
    "r": 35,
    "g": 90,
    "b": 172
  },
  "hsl": {
    "h": 215.912,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47777,
    "c": 0.14355,
    "h": 258.6
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#235AAC
secondary
#C69F64
accent
#A53FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #235AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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