#238AAD#238AAD

#238AAD is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.3% C 0.103 H 226.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#238AAD
RGBrgb(35, 138, 173)
HSLhsl(195, 66%, 41%)
HSVhsv(195, 80%, 68%)
CMYKcmyk(79.8%, 20.2%, 0%, 32.2%)
CIE-LABlab(53.55, -16.29, -26.57)
CIE-LCHlch(53.55, 31.17, 238.49°)
OKLaboklab(59.27% -0.0716 -0.0746)
OKLCHoklch(59.27% 0.103 226.2)
XYZxyz(17.3213, 21.5493, 42.7736)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238AAD #AD4623
analogous
#23AD8B #238AAD #2345AD
triadic
#238AAD #AD238A #8AAD23
tetradic
#238AAD #8B23AD #AD4623 #45AD23
square
#238AAD #8B23AD #AD4623 #45AD23
split-complementary
#238AAD #AD2345 #AD8B23
monochromatic
#0E3947 #19617A #238AAD #37AED6 #6AC3E1

Accessibility & contrast

On white

3.95
#238AAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##238AAD#FFFFFF#000000##000000
##238AAD1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7787AF
Deuteranopia (green-blind)
#657AAD
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #238aad;
/* rgb */ color: rgb(35, 138, 173);
/* oklch */ color: oklch(59.3% 0.103 226.2);
Tailwind
colors: {
  custom: {
    50: '#75acc5',
    500: '#238aad',
    950: '#000000',
  },
}
SCSS
$custom: #238aad;
$custom-light: #75acc5;
$custom-dark: #000000;
JSON
{
  "hex": "#238aad",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 173
  },
  "hsl": {
    "h": 195.217,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.10341,
    "h": 226.2
  },
  "luminance": 0.21551
}

Semantic roles & 50–950 ramp

primary
#238AAD
secondary
#C77E65
accent
#6A3FE9
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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