#235EC1#235EC1

#235EC1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.167 H 260.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#235EC1
RGBrgb(35, 94, 193)
HSLhsl(218, 69%, 45%)
HSVhsv(218, 82%, 76%)
CMYKcmyk(81.9%, 51.3%, 0%, 24.3%)
CIE-LABlab(41.55, 17.98, -57.15)
CIE-LCHlch(41.55, 59.91, 287.47°)
OKLaboklab(50.21% -0.0282 -0.1647)
OKLCHoklch(50.21% 0.167 260.3)
XYZxyz(14.3180, 12.2112, 52.0441)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235EC1 #C18623
analogous
#23ADC1 #235EC1 #3723C1
triadic
#235EC1 #C1235E #5EC123
tetradic
#235EC1 #C123AD #C18623 #23C137
square
#235EC1 #C123AD #C18623 #23C137
split-complementary
#235EC1 #C13723 #ADC123
monochromatic
#102C59 #1A458D #235EC1 #447DDD #78A1E6

Accessibility & contrast

On white

6.10
#235EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#235EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235EC1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235EC1#FFFFFF#000000##FFFFFF
##235EC11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #235ec1;
/* rgb */ color: rgb(35, 94, 193);
/* oklch */ color: oklch(50.2% 0.167 260.3);
Tailwind
colors: {
  custom: {
    50: '#788ad4',
    500: '#235ec1',
    950: '#000000',
  },
}
SCSS
$custom: #235ec1;
$custom-light: #788ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#235ec1",
  "rgb": {
    "r": 35,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 217.595,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.16706,
    "h": 260.3
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#235EC1
secondary
#CEAC72
accent
#AA3CEC
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #235EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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