#235F9D#235F9D

#235F9D is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.117 H 252.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#235F9D
RGBrgb(35, 95, 157)
HSLhsl(210, 64%, 38%)
HSVhsv(210, 78%, 62%)
CMYKcmyk(77.7%, 39.5%, 0%, 38.4%)
CIE-LABlab(39.54, 3.30, -39.18)
CIE-LCHlch(39.54, 39.32, 274.82°)
OKLaboklab(47.91% -0.0358 -0.1118)
OKLCHoklch(47.91% 0.117 252.2)
XYZxyz(10.8689, 10.9748, 33.4373)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F9D #9D6123
analogous
#239C9D #235F9D #24239D
triadic
#235F9D #9D235F #5F9D23
tetradic
#235F9D #9D239C #9D6123 #239D24
square
#235F9D #9D239C #9D6123 #239D24
split-complementary
#235F9D #9D2423 #9C9D23
monochromatic
#0D2239 #18416B #235F9D #2E7DCF #5F9CDB

Accessibility & contrast

On white

6.57
#235F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#235F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235F9D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F9D#FFFFFF#000000##FFFFFF
##235F9D1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4263A0
Deuteranopia (green-blind)
#2E589C
Tritanopia (blue-blind)
#006E76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #235f9d;
/* rgb */ color: rgb(35, 95, 157);
/* oklch */ color: oklch(47.9% 0.117 252.2);
Tailwind
colors: {
  custom: {
    50: '#708cba',
    500: '#235f9d',
    950: '#000000',
  },
}
SCSS
$custom: #235f9d;
$custom-light: #708cba;
$custom-dark: #000000;
JSON
{
  "hex": "#235f9d",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 210.492,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47911,
    "c": 0.11738,
    "h": 252.2
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#235F9D
secondary
#C08F5C
accent
#9541E7
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #235F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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