#238BA5#238BA5

#238BA5 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.2% C 0.098 H 219.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#238BA5
RGBrgb(35, 139, 165)
HSLhsl(192, 65%, 39%)
HSVhsv(192, 79%, 65%)
CMYKcmyk(78.8%, 15.8%, 0%, 35.3%)
CIE-LABlab(53.53, -19.58, -21.99)
CIE-LCHlch(53.53, 29.45, 228.31°)
OKLaboklab(59.15% -0.0757 -0.0615)
OKLCHoklch(59.15% 0.098 219.1)
XYZxyz(16.7144, 21.5371, 38.8662)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238BA5 #A53D23
analogous
#23A57E #238BA5 #234AA5
triadic
#238BA5 #A5238B #8BA523
tetradic
#238BA5 #7E23A5 #A53D23 #4AA523
square
#238BA5 #7E23A5 #A53D23 #4AA523
split-complementary
#238BA5 #A5234A #A57E23
monochromatic
#0E3640 #186073 #238BA5 #32B3D3 #64C6DE

Accessibility & contrast

On white

3.96
#238BA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#238BA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238BA5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238BA5#FFFFFF#000000##000000
##238BA51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B87A6
Deuteranopia (green-blind)
#697AA5
Tritanopia (blue-blind)
#009493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #238ba5;
/* rgb */ color: rgb(35, 139, 165);
/* oklch */ color: oklch(59.2% 0.098 219.1);
Tailwind
colors: {
  custom: {
    50: '#74adbf',
    500: '#238ba5',
    950: '#000000',
  },
}
SCSS
$custom: #238ba5;
$custom-light: #74adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#238ba5",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 165
  },
  "hsl": {
    "h": 192,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.09756,
    "h": 219.1
  },
  "luminance": 0.21539
}

Semantic roles & 50–950 ramp

primary
#238BA5
secondary
#C47460
accent
#6140E8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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