#237A9D#237A9D

#237A9D is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.5% C 0.096 H 229.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#237A9D
RGBrgb(35, 122, 157)
HSLhsl(197, 64%, 38%)
HSVhsv(197, 78%, 62%)
CMYKcmyk(77.7%, 22.3%, 0%, 38.4%)
CIE-LABlab(47.89, -13.01, -26.05)
CIE-LCHlch(47.89, 29.12, 243.47°)
OKLaboklab(54.52% -0.0619 -0.0732)
OKLCHoklch(54.52% 0.096 229.8)
XYZxyz(13.7360, 16.7091, 34.3930)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A9D #9D4623
analogous
#239D83 #237A9D #233D9D
triadic
#237A9D #9D237A #7A9D23
tetradic
#237A9D #83239D #9D4623 #3D9D23
square
#237A9D #83239D #9D4623 #3D9D23
split-complementary
#237A9D #9D233D #9D8323
monochromatic
#0D2C39 #18536B #237A9D #2EA1CF #5FB8DB

Accessibility & contrast

On white

4.84
#237A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#237A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A9D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A9D#FFFFFF#000000##FFFFFF
##237A9D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789F
Deuteranopia (green-blind)
#586D9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #237a9d;
/* rgb */ color: rgb(35, 122, 157);
/* oklch */ color: oklch(54.5% 0.096 229.8);
Tailwind
colors: {
  custom: {
    50: '#71a0ba',
    500: '#237a9d',
    950: '#000000',
  },
}
SCSS
$custom: #237a9d;
$custom-light: #71a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#237a9d",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 157
  },
  "hsl": {
    "h": 197.213,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54518,
    "c": 0.09592,
    "h": 229.8
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#237A9D
secondary
#C0785C
accent
#7141E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #237A9D

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

Preview Lab → · Contrast checker → · Palette generator →

#237A9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva