#235AA7#235AA7

#235AA7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.4% C 0.137 H 257.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#235AA7
RGBrgb(35, 90, 167)
HSLhsl(215, 65%, 40%)
HSVhsv(215, 79%, 65%)
CMYKcmyk(79%, 46.1%, 0%, 34.5%)
CIE-LABlab(38.65, 10.44, -46.55)
CIE-LCHlch(38.65, 47.71, 282.64°)
OKLaboklab(47.42% -0.0292 -0.1335)
OKLCHoklch(47.42% 0.137 257.7)
XYZxyz(11.3218, 10.4583, 37.9737)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235AA7 #A77023
analogous
#239CA7 #235AA7 #2E23A7
triadic
#235AA7 #A7235A #5AA723
tetradic
#235AA7 #A7239C #A77023 #23A72E
square
#235AA7 #A7239C #A77023 #23A72E
split-complementary
#235AA7 #A72E23 #9CA723
monochromatic
#0E2342 #183F74 #235AA7 #3376D4 #6698DF

Accessibility & contrast

On white

6.79
#235AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#235AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235AA7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235AA7#FFFFFF#000000##FFFFFF
##235AA71.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161AA
Deuteranopia (green-blind)
#1255A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #235aa7;
/* rgb */ color: rgb(35, 90, 167);
/* oklch */ color: oklch(47.4% 0.137 257.7);
Tailwind
colors: {
  custom: {
    50: '#7288c2',
    500: '#235aa7',
    950: '#000000',
  },
}
SCSS
$custom: #235aa7;
$custom-light: #7288c2;
$custom-dark: #000000;
JSON
{
  "hex": "#235aa7",
  "rgb": {
    "r": 35,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 215,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4742,
    "c": 0.1367,
    "h": 257.7
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#235AA7
secondary
#C49B61
accent
#A23FE8
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #235AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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