#235FC1#235FC1

#235FC1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.166 H 259.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#235FC1
RGBrgb(35, 95, 193)
HSLhsl(217, 69%, 45%)
HSVhsv(217, 82%, 76%)
CMYKcmyk(81.9%, 50.8%, 0%, 24.3%)
CIE-LABlab(41.83, 17.33, -56.70)
CIE-LCHlch(41.83, 59.29, 287.00°)
OKLaboklab(50.42% -0.029 -0.1633)
OKLCHoklch(50.42% 0.166 259.9)
XYZxyz(14.4075, 12.3902, 52.0739)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235FC1 #C18523
analogous
#23AEC1 #235FC1 #3623C1
triadic
#235FC1 #C1235F #5FC123
tetradic
#235FC1 #C123AE #C18523 #23C136
square
#235FC1 #C123AE #C18523 #23C136
split-complementary
#235FC1 #C13623 #AEC123
monochromatic
#102C59 #1A468D #235FC1 #447EDD #78A2E6

Accessibility & contrast

On white

6.04
#235FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#235FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235FC1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235FC1#FFFFFF#000000##FFFFFF
##235FC11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6AC5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #235fc1;
/* rgb */ color: rgb(35, 95, 193);
/* oklch */ color: oklch(50.4% 0.166 259.9);
Tailwind
colors: {
  custom: {
    50: '#788bd4',
    500: '#235fc1',
    950: '#000000',
  },
}
SCSS
$custom: #235fc1;
$custom-light: #788bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#235fc1",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 193
  },
  "hsl": {
    "h": 217.215,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.16586,
    "h": 259.9
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#235FC1
secondary
#CEAB72
accent
#A93CEC
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #235FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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