#238DD4#238DD4

#238DD4 is a light, vivid cyan. Relative luminance 0.242; OKLCH L 62.0% C 0.141 H 244.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#238DD4
RGBrgb(35, 141, 212)
HSLhsl(204, 72%, 48%)
HSVhsv(204, 83%, 83%)
CMYKcmyk(83.5%, 33.5%, 0%, 16.9%)
CIE-LABlab(56.25, -3.96, -44.51)
CIE-LCHlch(56.25, 44.68, 264.92°)
OKLaboklab(62.01% -0.0613 -0.1266)
OKLCHoklch(62.01% 0.141 244.2)
XYZxyz(22.0970, 24.1577, 65.7729)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238DD4 #D46A23
analogous
#23D4C2 #238DD4 #2334D4
triadic
#238DD4 #D4238D #8DD423
tetradic
#238DD4 #C223D4 #D46A23 #34D423
square
#238DD4 #C223D4 #D46A23 #34D423
split-complementary
#238DD4 #D42334 #D4C223
monochromatic
#12476B #1A6A9F #238DD4 #52A8E2 #86C3EB

Accessibility & contrast

On white

3.60
#238DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#238DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238DD4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238DD4#FFFFFF#000000##000000
##238DD41.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8FD7
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#009EA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #238dd4;
/* rgb */ color: rgb(35, 141, 212);
/* oklch */ color: oklch(62.0% 0.141 244.2);
Tailwind
colors: {
  custom: {
    50: '#7caee1',
    500: '#238dd4',
    950: '#000000',
  },
}
SCSS
$custom: #238dd4;
$custom-light: #7caee1;
$custom-dark: #000000;
JSON
{
  "hex": "#238dd4",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 212
  },
  "hsl": {
    "h": 204.068,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.62005,
    "c": 0.1407,
    "h": 244.2
  },
  "luminance": 0.24161
}

Semantic roles & 50–950 ramp

primary
#238DD4
secondary
#D4A17E
accent
#8239EE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #238DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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