#235198#235198

#235198 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.127 H 259.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#235198
RGBrgb(35, 81, 152)
HSLhsl(216, 63%, 37%)
HSVhsv(216, 77%, 60%)
CMYKcmyk(77%, 46.7%, 0%, 40.4%)
CIE-LABlab(35.02, 10.50, -43.40)
CIE-LCHlch(35.02, 44.65, 283.60°)
OKLaboklab(44.3% -0.0242 -0.1244)
OKLCHoklch(44.3% 0.127 259)
XYZxyz(9.3010, 8.5081, 30.8517)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235198 #986A23
analogous
#238C98 #235198 #2F2398
triadic
#235198 #982351 #519823
tetradic
#235198 #98238C #986A23 #23982F
square
#235198 #98238C #986A23 #23982F
split-complementary
#235198 #982F23 #8C9823
monochromatic
#0C1C35 #183666 #235198 #2E6CCA #5C8DD9

Accessibility & contrast

On white

7.77
#235198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#235198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235198
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235198#FFFFFF#000000##FFFFFF
##2351981.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#114D97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #235198;
/* rgb */ color: rgb(35, 81, 152);
/* oklch */ color: oklch(44.3% 0.127 259.0);
Tailwind
colors: {
  custom: {
    50: '#6f81b7',
    500: '#235198',
    950: '#000000',
  },
}
SCSS
$custom: #235198;
$custom-light: #6f81b7;
$custom-dark: #000000;
JSON
{
  "hex": "#235198",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 216.41,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44304,
    "c": 0.12678,
    "h": 259
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#235198
secondary
#BE9659
accent
#A542E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235198

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

Preview Lab → · Contrast checker → · Palette generator →

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