#237FA2#237FA2

#237FA2 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.098 H 228.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#237FA2
RGBrgb(35, 127, 162)
HSLhsl(197, 64%, 39%)
HSVhsv(197, 78%, 64%)
CMYKcmyk(78.4%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.67, -14.05, -26.21)
CIE-LCHlch(49.67, 29.74, 241.81°)
OKLaboklab(56.01% -0.065 -0.0737)
OKLCHoklch(56.01% 0.098 228.6)
XYZxyz(14.8014, 18.1429, 36.8972)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237FA2 #A24623
analogous
#23A285 #237FA2 #2340A2
triadic
#237FA2 #A2237F #7FA223
tetradic
#237FA2 #8523A2 #A24623 #40A223
square
#237FA2 #8523A2 #A24623 #40A223
split-complementary
#237FA2 #A22340 #A28523
monochromatic
#0D303D #185870 #237FA2 #30A6D2 #62BBDD

Accessibility & contrast

On white

4.54
#237FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#237FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #237FA2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237FA2#FFFFFF#000000##000000
##237FA21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #237fa2;
/* rgb */ color: rgb(35, 127, 162);
/* oklch */ color: oklch(56.0% 0.098 228.6);
Tailwind
colors: {
  custom: {
    50: '#72a4bd',
    500: '#237fa2',
    950: '#000000',
  },
}
SCSS
$custom: #237fa2;
$custom-light: #72a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#237fa2",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 196.535,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56011,
    "c": 0.09827,
    "h": 228.6
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#237FA2
secondary
#C27A5E
accent
#6E40E7
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #237FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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