#234FE2#234FE2

#234FE2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.1% C 0.227 H 265.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#234FE2
RGBrgb(35, 79, 226)
HSLhsl(226, 77%, 51%)
HSVhsv(226, 85%, 89%)
CMYKcmyk(84.5%, 65%, 0%, 11.4%)
CIE-LABlab(40.31, 40.17, -78.15)
CIE-LCHlch(40.31, 87.87, 297.20°)
OKLaboklab(50.09% -0.0184 -0.2265)
OKLCHoklch(50.09% 0.227 265.4)
XYZxyz(17.2117, 11.4381, 73.2374)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234FE2 #E2B623
analogous
#23AEE2 #234FE2 #5623E2
triadic
#234FE2 #E2234F #4FE223
tetradic
#234FE2 #E223AE #E2B623 #23E256
square
#234FE2 #E223AE #E2B623 #23E256
split-complementary
#234FE2 #E25623 #AEE223
monochromatic
#10297A #173BB1 #234FE2 #597AE9 #8FA6F0

Accessibility & contrast

On white

6.39
#234FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#234FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #234FE2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234FE2#FFFFFF#000000##FFFFFF
##234FE21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #234fe2;
/* rgb */ color: rgb(35, 79, 226);
/* oklch */ color: oklch(50.1% 0.227 265.4);
Tailwind
colors: {
  custom: {
    50: '#8280ec',
    500: '#234fe2',
    950: '#000000',
  },
}
SCSS
$custom: #234fe2;
$custom-light: #8280ec;
$custom-dark: #000000;
JSON
{
  "hex": "#234fe2",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 226.178,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.22723,
    "h": 265.4
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#234FE2
secondary
#DBC786
accent
#C735F3
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #234FE2

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

Preview Lab → · Contrast checker → · Palette generator →

#234FE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva