#238DB3#238DB3

#238DB3 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.107 H 227.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#238DB3
RGBrgb(35, 141, 179)
HSLhsl(196, 67%, 42%)
HSVhsv(196, 80%, 70%)
CMYKcmyk(80.4%, 21.2%, 0%, 29.8%)
CIE-LABlab(54.72, -15.84, -28.19)
CIE-LCHlch(54.72, 32.33, 240.67°)
OKLaboklab(60.29% -0.0722 -0.0792)
OKLCHoklch(60.29% 0.107 227.6)
XYZxyz(18.3513, 22.6595, 46.0456)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238DB3 #B34923
analogous
#23B391 #238DB3 #2345B3
triadic
#238DB3 #B3238D #8DB323
tetradic
#238DB3 #9123B3 #B34923 #45B323
square
#238DB3 #9123B3 #B34923 #45B323
split-complementary
#238DB3 #B32345 #B39123
monochromatic
#0F3C4D #196580 #238DB3 #3BAFD9 #6EC4E3

Accessibility & contrast

On white

3.80
#238DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#238DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238DB3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238DB3#FFFFFF#000000##000000
##238DB31.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB5
Deuteranopia (green-blind)
#667DB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #238db3;
/* rgb */ color: rgb(35, 141, 179);
/* oklch */ color: oklch(60.3% 0.107 227.6);
Tailwind
colors: {
  custom: {
    50: '#76aeca',
    500: '#238db3',
    950: '#000000',
  },
}
SCSS
$custom: #238db3;
$custom-light: #76aeca;
$custom-dark: #000000;
JSON
{
  "hex": "#238db3",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 179
  },
  "hsl": {
    "h": 195.833,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.10723,
    "h": 227.6
  },
  "luminance": 0.22662
}

Semantic roles & 50–950 ramp

primary
#238DB3
secondary
#C98269
accent
#6B3EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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