#235F7F#235F7F

#235F7F is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.2% C 0.080 H 235.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#235F7F
RGBrgb(35, 95, 127)
HSLhsl(201, 57%, 32%)
HSVhsv(201, 72%, 50%)
CMYKcmyk(72.4%, 25.2%, 0%, 50.2%)
CIE-LABlab(37.97, -8.05, -23.52)
CIE-LCHlch(37.97, 24.86, 251.11°)
OKLaboklab(46.17% -0.0451 -0.0662)
OKLCHoklch(46.17% 0.08 235.7)
XYZxyz(8.6146, 10.0731, 21.5648)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F7F #7F4323
analogous
#237F71 #235F7F #23317F
triadic
#235F7F #7F235F #5F7F23
tetradic
#235F7F #71237F #7F4323 #317F23
square
#235F7F #71237F #7F4323 #317F23
split-complementary
#235F7F #7F2331 #7F7123
monochromatic
#09171F #163B4F #235F7F #3083AF #4EA2CE

Accessibility & contrast

On white

6.97
#235F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#235F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235F7F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F7F#FFFFFF#000000##FFFFFF
##235F7F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E81
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #235f7f;
/* rgb */ color: rgb(35, 95, 127);
/* oklch */ color: oklch(46.2% 0.080 235.7);
Tailwind
colors: {
  custom: {
    50: '#6a8ca4',
    500: '#235f7f',
    950: '#000000',
  },
}
SCSS
$custom: #235f7f;
$custom-light: #6a8ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#235f7f",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 127
  },
  "hsl": {
    "h": 200.87,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.08009,
    "h": 235.7
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#235F7F
secondary
#B1704C
accent
#7D48E0
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #235F7F

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

Preview Lab → · Contrast checker → · Palette generator →

#235F7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva