#238ED4#238ED4

#238ED4 is a light, vivid cyan. Relative luminance 0.245; OKLCH L 62.2% C 0.140 H 243.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#238ED4
RGBrgb(35, 142, 212)
HSLhsl(204, 72%, 48%)
HSVhsv(204, 83%, 83%)
CMYKcmyk(83.5%, 33%, 0%, 16.9%)
CIE-LABlab(56.54, -4.54, -44.04)
CIE-LCHlch(56.54, 44.27, 264.12°)
OKLaboklab(62.24% -0.0622 -0.1252)
OKLCHoklch(62.24% 0.14 243.6)
XYZxyz(22.2451, 24.4540, 65.8222)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238ED4 #D46923
analogous
#23D4C1 #238ED4 #2335D4
triadic
#238ED4 #D4238E #8ED423
tetradic
#238ED4 #C123D4 #D46923 #35D423
square
#238ED4 #C123D4 #D46923 #35D423
split-complementary
#238ED4 #D42335 #D4C123
monochromatic
#12486B #1A6B9F #238ED4 #52A9E2 #86C3EB

Accessibility & contrast

On white

3.56
#238ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#238ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238ED4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238ED4#FFFFFF#000000##000000
##238ED41.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D7
Deuteranopia (green-blind)
#5481D3
Tritanopia (blue-blind)
#009FA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #238ed4;
/* rgb */ color: rgb(35, 142, 212);
/* oklch */ color: oklch(62.2% 0.140 243.6);
Tailwind
colors: {
  custom: {
    50: '#7caee1',
    500: '#238ed4',
    950: '#000000',
  },
}
SCSS
$custom: #238ed4;
$custom-light: #7caee1;
$custom-dark: #000000;
JSON
{
  "hex": "#238ed4",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 212
  },
  "hsl": {
    "h": 203.729,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.13983,
    "h": 243.6
  },
  "luminance": 0.24457
}

Semantic roles & 50–950 ramp

primary
#238ED4
secondary
#D4A07E
accent
#8139EE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #238ED4

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

Preview Lab → · Contrast checker → · Palette generator →

#238ED4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva