#238BD4#238BD4

#238BD4 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.5% C 0.142 H 245.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#238BD4
RGBrgb(35, 139, 212)
HSLhsl(205, 72%, 48%)
HSVhsv(205, 83%, 83%)
CMYKcmyk(83.5%, 34.4%, 0%, 16.9%)
CIE-LABlab(55.66, -2.79, -45.44)
CIE-LCHlch(55.66, 45.52, 266.49°)
OKLaboklab(61.54% -0.0596 -0.1294)
OKLCHoklch(61.54% 0.142 245.3)
XYZxyz(21.8048, 23.5733, 65.6755)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238BD4 #D46C23
analogous
#23D4C4 #238BD4 #2332D4
triadic
#238BD4 #D4238B #8BD423
tetradic
#238BD4 #C423D4 #D46C23 #32D423
square
#238BD4 #C423D4 #D46C23 #32D423
split-complementary
#238BD4 #D42332 #D4C423
monochromatic
#12466B #1A699F #238BD4 #52A7E2 #86C2EB

Accessibility & contrast

On white

3.67
#238BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#238BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238BD4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238BD4#FFFFFF#000000##000000
##238BD41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ED7
Deuteranopia (green-blind)
#4F7ED3
Tritanopia (blue-blind)
#009DA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #238bd4;
/* rgb */ color: rgb(35, 139, 212);
/* oklch */ color: oklch(61.5% 0.142 245.3);
Tailwind
colors: {
  custom: {
    50: '#7cace1',
    500: '#238bd4',
    950: '#000000',
  },
}
SCSS
$custom: #238bd4;
$custom-light: #7cace1;
$custom-dark: #000000;
JSON
{
  "hex": "#238bd4",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 212
  },
  "hsl": {
    "h": 204.746,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.14246,
    "h": 245.3
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#238BD4
secondary
#D4A27E
accent
#8439EE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #238BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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