#238AAC#238AAC

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

Color values

HEX#238AAC
RGBrgb(35, 138, 172)
HSLhsl(195, 66%, 41%)
HSVhsv(195, 80%, 67%)
CMYKcmyk(79.7%, 19.8%, 0%, 32.5%)
CIE-LABlab(53.50, -16.64, -26.06)
CIE-LCHlch(53.50, 30.92, 237.45°)
OKLaboklab(59.22% -0.072 -0.0732)
OKLCHoklch(59.22% 0.103 225.5)
XYZxyz(17.2249, 21.5107, 42.2659)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238AAC #AC4523
analogous
#23AC8A #238AAC #2345AC
triadic
#238AAC #AC238A #8AAC23
tetradic
#238AAC #8A23AC #AC4523 #45AC23
square
#238AAC #8A23AC #AC4523 #45AC23
split-complementary
#238AAC #AC2345 #AC8A23
monochromatic
#0E3846 #196179 #238AAC #36AED6 #69C3E0

Accessibility & contrast

On white

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

On black

5.30
#238AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238AAC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238AAC#FFFFFF#000000##000000
##238AAC1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7787AE
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #238aac;
/* rgb */ color: rgb(35, 138, 172);
/* oklch */ color: oklch(59.2% 0.103 225.5);
Tailwind
colors: {
  custom: {
    50: '#75acc4',
    500: '#238aac',
    950: '#000000',
  },
}
SCSS
$custom: #238aac;
$custom-light: #75acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#238aac",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 172
  },
  "hsl": {
    "h": 194.891,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5922,
    "c": 0.10264,
    "h": 225.5
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#238AAC
secondary
#C67D64
accent
#693FE9
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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