#235795#235795

#235795 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.5% C 0.115 H 254.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#235795
RGBrgb(35, 87, 149)
HSLhsl(213, 62%, 36%)
HSVhsv(213, 77%, 58%)
CMYKcmyk(76.5%, 41.6%, 0%, 41.6%)
CIE-LABlab(36.64, 5.36, -39.00)
CIE-LCHlch(36.64, 39.36, 277.82°)
OKLaboklab(45.5% -0.0303 -0.1114)
OKLCHoklch(45.5% 0.115 254.8)
XYZxyz(9.5241, 9.3426, 29.7293)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235795 #956123
analogous
#239095 #235795 #282395
triadic
#235795 #952357 #579523
tetradic
#235795 #952390 #956123 #239528
square
#235795 #952390 #956123 #239528
split-complementary
#235795 #952823 #909523
monochromatic
#0C1D32 #173A63 #235795 #2F74C7 #5A94D8

Accessibility & contrast

On white

7.32
#235795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#235795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235795
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235795#FFFFFF#000000##FFFFFF
##2357951.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C97
Deuteranopia (green-blind)
#265194
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #235795;
/* rgb */ color: rgb(35, 87, 149);
/* oklch */ color: oklch(45.5% 0.115 254.8);
Tailwind
colors: {
  custom: {
    50: '#6f85b4',
    500: '#235795',
    950: '#000000',
  },
}
SCSS
$custom: #235795;
$custom-light: #6f85b4;
$custom-dark: #000000;
JSON
{
  "hex": "#235795",
  "rgb": {
    "r": 35,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 212.632,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45495,
    "c": 0.11546,
    "h": 254.8
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#235795
secondary
#BD8E57
accent
#9B43E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #235795

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

Preview Lab → · Contrast checker → · Palette generator →

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