#235796#235796

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

Color values

HEX#235796
RGBrgb(35, 87, 150)
HSLhsl(213, 62%, 36%)
HSVhsv(213, 77%, 59%)
CMYKcmyk(76.7%, 42%, 0%, 41.2%)
CIE-LABlab(36.70, 5.75, -39.51)
CIE-LCHlch(36.70, 39.92, 278.28°)
OKLaboklab(45.56% -0.0301 -0.1129)
OKLCHoklch(45.56% 0.117 255.1)
XYZxyz(9.6043, 9.3746, 30.1516)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235796 #966223
analogous
#239196 #235796 #292396
triadic
#235796 #962357 #579623
tetradic
#235796 #962391 #966223 #239629
square
#235796 #962391 #966223 #239629
split-complementary
#235796 #962923 #919623
monochromatic
#0C1D33 #173A64 #235796 #2F74C8 #5B94D9

Accessibility & contrast

On white

7.30
#235796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #235796
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235796#FFFFFF#000000##FFFFFF
##2357961.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#255195
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #235796;
/* rgb */ color: rgb(35, 87, 150);
/* oklch */ color: oklch(45.6% 0.117 255.1);
Tailwind
colors: {
  custom: {
    50: '#6f85b5',
    500: '#235796',
    950: '#000000',
  },
}
SCSS
$custom: #235796;
$custom-light: #6f85b5;
$custom-dark: #000000;
JSON
{
  "hex": "#235796",
  "rgb": {
    "r": 35,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 212.87,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.11684,
    "h": 255.1
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#235796
secondary
#BD8F58
accent
#9C43E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #235796

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

Preview Lab → · Contrast checker → · Palette generator →

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