#235298#235298

#235298 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.5% C 0.126 H 258.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#235298
RGBrgb(35, 82, 152)
HSLhsl(216, 63%, 37%)
HSVhsv(216, 77%, 60%)
CMYKcmyk(77%, 46.1%, 0%, 40.4%)
CIE-LABlab(35.32, 9.83, -42.92)
CIE-LCHlch(35.32, 44.03, 282.90°)
OKLaboklab(44.53% -0.0251 -0.123)
OKLCHoklch(44.53% 0.126 258.5)
XYZxyz(9.3759, 8.6578, 30.8767)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235298 #986923
analogous
#238D98 #235298 #2E2398
triadic
#235298 #982352 #529823
tetradic
#235298 #98238D #986923 #23982E
square
#235298 #98238D #986923 #23982E
split-complementary
#235298 #982E23 #8D9823
monochromatic
#0C1C35 #183766 #235298 #2E6DCA #5C8ED9

Accessibility & contrast

On white

7.69
#235298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#235298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235298
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235298#FFFFFF#000000##FFFFFF
##2352981.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#144E97
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #235298;
/* rgb */ color: rgb(35, 82, 152);
/* oklch */ color: oklch(44.5% 0.126 258.5);
Tailwind
colors: {
  custom: {
    50: '#6f82b7',
    500: '#235298',
    950: '#000000',
  },
}
SCSS
$custom: #235298;
$custom-light: #6f82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#235298",
  "rgb": {
    "r": 35,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 215.897,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44533,
    "c": 0.12556,
    "h": 258.5
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#235298
secondary
#BE9559
accent
#A442E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235298

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

Preview Lab → · Contrast checker → · Palette generator →

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