#238EB3#238EB3

#238EB3 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.5% C 0.107 H 226.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#238EB3
RGBrgb(35, 142, 179)
HSLhsl(195, 67%, 42%)
HSVhsv(195, 80%, 70%)
CMYKcmyk(80.4%, 20.7%, 0%, 29.8%)
CIE-LABlab(55.03, -16.39, -27.71)
CIE-LCHlch(55.03, 32.20, 239.41°)
OKLaboklab(60.54% -0.0732 -0.0779)
OKLCHoklch(60.54% 0.107 226.8)
XYZxyz(18.4995, 22.9557, 46.0950)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238EB3 #B34823
analogous
#23B390 #238EB3 #2346B3
triadic
#238EB3 #B3238E #8EB323
tetradic
#238EB3 #9023B3 #B34823 #46B323
square
#238EB3 #9023B3 #B34823 #46B323
split-complementary
#238EB3 #B32346 #B39023
monochromatic
#0F3D4D #196580 #238EB3 #3BB0D9 #6EC5E3

Accessibility & contrast

On white

3.76
#238EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#238EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238EB3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238EB3#FFFFFF#000000##000000
##238EB31.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB5
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #238eb3;
/* rgb */ color: rgb(35, 142, 179);
/* oklch */ color: oklch(60.5% 0.107 226.8);
Tailwind
colors: {
  custom: {
    50: '#76afca',
    500: '#238eb3',
    950: '#000000',
  },
}
SCSS
$custom: #238eb3;
$custom-light: #76afca;
$custom-dark: #000000;
JSON
{
  "hex": "#238eb3",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 195.417,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.10687,
    "h": 226.8
  },
  "luminance": 0.22958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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