#235FD4#235FD4

#235FD4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.191 H 261.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#235FD4
RGBrgb(35, 95, 212)
HSLhsl(220, 72%, 48%)
HSVhsv(220, 83%, 83%)
CMYKcmyk(83.5%, 55.2%, 0%, 16.9%)
CIE-LABlab(43.20, 24.67, -65.43)
CIE-LCHlch(43.20, 69.93, 290.66°)
OKLaboklab(51.9% -0.0269 -0.189)
OKLCHoklch(51.9% 0.191 261.9)
XYZxyz(16.6647, 13.2931, 63.9621)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235FD4 #D49823
analogous
#23B7D4 #235FD4 #3F23D4
triadic
#235FD4 #D4235F #5FD423
tetradic
#235FD4 #D423B7 #D49823 #23D43F
square
#235FD4 #D423B7 #D49823 #23D43F
split-complementary
#235FD4 #D43F23 #B7D423
monochromatic
#12306B #1A479F #235FD4 #5283E2 #86A8EB

Accessibility & contrast

On white

5.74
#235FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#235FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235FD4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235FD4#FFFFFF#000000##FFFFFF
##235FD41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #235fd4;
/* rgb */ color: rgb(35, 95, 212);
/* oklch */ color: oklch(51.9% 0.191 261.9);
Tailwind
colors: {
  custom: {
    50: '#7d8be2',
    500: '#235fd4',
    950: '#000000',
  },
}
SCSS
$custom: #235fd4;
$custom-light: #7d8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#235fd4",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 219.661,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.1909,
    "h": 261.9
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#235FD4
secondary
#D4B77E
accent
#B139EE
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C15
muted
#7D7D84

Preview Lab

Preview with #235FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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