#235F9F#235F9F

#235F9F is a mid, vivid cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.120 H 252.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#235F9F
RGBrgb(35, 95, 159)
HSLhsl(211, 64%, 38%)
HSVhsv(211, 78%, 62%)
CMYKcmyk(78%, 40.3%, 0%, 37.6%)
CIE-LABlab(39.65, 4.08, -40.19)
CIE-LCHlch(39.65, 40.39, 275.79°)
OKLaboklab(48.04% -0.0353 -0.1147)
OKLCHoklch(48.04% 0.12 252.9)
XYZxyz(11.0410, 11.0437, 34.3439)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F9F #9F6323
analogous
#239D9F #235F9F #25239F
triadic
#235F9F #9F235F #5F9F23
tetradic
#235F9F #9F239D #9F6323 #239F25
square
#235F9F #9F239D #9F6323 #239F25
split-complementary
#235F9F #9F2523 #9D9F23
monochromatic
#0D233B #18416D #235F9F #2E7DD1 #609CDC

Accessibility & contrast

On white

6.54
#235F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#235F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235F9F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F9F#FFFFFF#000000##FFFFFF
##235F9F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A2
Deuteranopia (green-blind)
#2C589E
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #235f9f;
/* rgb */ color: rgb(35, 95, 159);
/* oklch */ color: oklch(48.0% 0.120 252.9);
Tailwind
colors: {
  custom: {
    50: '#718bbc',
    500: '#235f9f',
    950: '#000000',
  },
}
SCSS
$custom: #235f9f;
$custom-light: #718bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#235f9f",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 159
  },
  "hsl": {
    "h": 210.968,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48039,
    "c": 0.12005,
    "h": 252.9
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#235F9F
secondary
#C1915D
accent
#9741E7
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #235F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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