#235791#235791

#235791 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.2% C 0.110 H 253.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#235791
RGBrgb(35, 87, 145)
HSLhsl(212, 61%, 35%)
HSVhsv(212, 76%, 57%)
CMYKcmyk(75.9%, 40%, 0%, 43.1%)
CIE-LABlab(36.40, 3.80, -36.96)
CIE-LCHlch(36.40, 37.15, 275.87°)
OKLaboklab(45.23% -0.0313 -0.1054)
OKLCHoklch(45.23% 0.11 253.5)
XYZxyz(9.2103, 9.2170, 28.0762)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235791 #915D23
analogous
#238E91 #235791 #262391
triadic
#235791 #912357 #579123
tetradic
#235791 #91238E #915D23 #239126
square
#235791 #91238E #915D23 #239126
split-complementary
#235791 #912623 #8E9123
monochromatic
#0B1C2E #173960 #235791 #2F75C2 #5894D7

Accessibility & contrast

On white

7.39
#235791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#235791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235791
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235791#FFFFFF#000000##FFFFFF
##2357911.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B93
Deuteranopia (green-blind)
#2A5190
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #235791;
/* rgb */ color: rgb(35, 87, 145);
/* oklch */ color: oklch(45.2% 0.110 253.5);
Tailwind
colors: {
  custom: {
    50: '#6e86b1',
    500: '#235791',
    950: '#000000',
  },
}
SCSS
$custom: #235791;
$custom-light: #6e86b1;
$custom-dark: #000000;
JSON
{
  "hex": "#235791",
  "rgb": {
    "r": 35,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 211.636,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45234,
    "c": 0.10995,
    "h": 253.5
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#235791
secondary
#BB8B55
accent
#9844E4
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #235791

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

Preview Lab → · Contrast checker → · Palette generator →

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