#235F9C#235F9C

#235F9C is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.116 H 251.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#235F9C
RGBrgb(35, 95, 156)
HSLhsl(210, 63%, 37%)
HSVhsv(210, 78%, 61%)
CMYKcmyk(77.6%, 39.1%, 0%, 38.8%)
CIE-LABlab(39.48, 2.91, -38.67)
CIE-LCHlch(39.48, 38.78, 274.31°)
OKLaboklab(47.85% -0.036 -0.1103)
OKLCHoklch(47.85% 0.116 251.9)
XYZxyz(10.7838, 10.9408, 32.9895)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F9C #9C6023
analogous
#239C9C #235F9C #23239C
triadic
#235F9C #9C235F #5F9C23
tetradic
#235F9C #9C239C #9C6023 #239C23
square
#235F9C #9C239C #9C6023 #239C23
split-complementary
#235F9C #9C2323 #9C9C23
monochromatic
#0D2238 #18416A #235F9C #2E7DCE #5E9CDB

Accessibility & contrast

On white

6.59
#235F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#235F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235F9C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F9C#FFFFFF#000000##FFFFFF
##235F9C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639E
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #235f9c;
/* rgb */ color: rgb(35, 95, 156);
/* oklch */ color: oklch(47.8% 0.116 251.9);
Tailwind
colors: {
  custom: {
    50: '#708cb9',
    500: '#235f9c',
    950: '#000000',
  },
}
SCSS
$custom: #235f9c;
$custom-light: #708cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#235f9c",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 156
  },
  "hsl": {
    "h": 210.248,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.11605,
    "h": 251.9
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#235F9C
secondary
#C08E5B
accent
#9541E6
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #235F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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