#235197#235197

#235197 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.2% C 0.125 H 258.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#235197
RGBrgb(35, 81, 151)
HSLhsl(216, 62%, 36%)
HSVhsv(216, 77%, 59%)
CMYKcmyk(76.8%, 46.4%, 0%, 40.8%)
CIE-LABlab(34.95, 10.10, -42.90)
CIE-LCHlch(34.95, 44.07, 283.25°)
OKLaboklab(44.23% -0.0244 -0.123)
OKLCHoklch(44.23% 0.125 258.8)
XYZxyz(9.2194, 8.4755, 30.4222)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235197 #976923
analogous
#238B97 #235197 #2F2397
triadic
#235197 #972351 #519723
tetradic
#235197 #97238B #976923 #23972F
square
#235197 #97238B #976923 #23972F
split-complementary
#235197 #972F23 #8B9723
monochromatic
#0C1C34 #173665 #235197 #2F6CC9 #5B8DD9

Accessibility & contrast

On white

7.79
#235197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #235197
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235197#FFFFFF#000000##FFFFFF
##2351971.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#134D96
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #235197;
/* rgb */ color: rgb(35, 81, 151);
/* oklch */ color: oklch(44.2% 0.125 258.8);
Tailwind
colors: {
  custom: {
    50: '#6f81b6',
    500: '#235197',
    950: '#000000',
  },
}
SCSS
$custom: #235197;
$custom-light: #6f81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#235197",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 216.207,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.12538,
    "h": 258.8
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#235197
secondary
#BE9558
accent
#A542E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235197

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

Preview Lab → · Contrast checker → · Palette generator →

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