#235797#235797

#235797 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.118 H 255.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#235797
RGBrgb(35, 87, 151)
HSLhsl(213, 62%, 36%)
HSVhsv(213, 77%, 59%)
CMYKcmyk(76.8%, 42.4%, 0%, 40.8%)
CIE-LABlab(36.76, 6.14, -40.01)
CIE-LCHlch(36.76, 40.48, 278.73°)
OKLaboklab(45.63% -0.0298 -0.1144)
OKLCHoklch(45.63% 0.118 255.4)
XYZxyz(9.6852, 9.4070, 30.5774)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235797 #976323
analogous
#239197 #235797 #292397
triadic
#235797 #972357 #579723
tetradic
#235797 #972391 #976323 #239729
square
#235797 #972391 #976323 #239729
split-complementary
#235797 #972923 #919723
monochromatic
#0C1E34 #173A65 #235797 #2F74C9 #5B94D9

Accessibility & contrast

On white

7.29
#235797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#235797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235797
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235797#FFFFFF#000000##FFFFFF
##2357971.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#245296
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #235797;
/* rgb */ color: rgb(35, 87, 151);
/* oklch */ color: oklch(45.6% 0.118 255.4);
Tailwind
colors: {
  custom: {
    50: '#6f85b6',
    500: '#235797',
    950: '#000000',
  },
}
SCSS
$custom: #235797;
$custom-light: #6f85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#235797",
  "rgb": {
    "r": 35,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 213.103,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.11822,
    "h": 255.4
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#235797
secondary
#BE9058
accent
#9C42E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #235797

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

Preview Lab → · Contrast checker → · Palette generator →

#235797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva