#235398#235398

#235398 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.124 H 257.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#235398
RGBrgb(35, 83, 152)
HSLhsl(215, 63%, 37%)
HSVhsv(215, 77%, 60%)
CMYKcmyk(77%, 45.4%, 0%, 40.4%)
CIE-LABlab(35.62, 9.17, -42.44)
CIE-LCHlch(35.62, 43.42, 282.19°)
OKLaboklab(44.76% -0.026 -0.1216)
OKLCHoklch(44.76% 0.124 257.9)
XYZxyz(9.4518, 8.8098, 30.9020)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235398 #986823
analogous
#238E98 #235398 #2E2398
triadic
#235398 #982353 #539823
tetradic
#235398 #98238E #986823 #23982E
square
#235398 #98238E #986823 #23982E
split-complementary
#235398 #982E23 #8E9823
monochromatic
#0C1D35 #183866 #235398 #2E6ECA #5C8FD9

Accessibility & contrast

On white

7.60
#235398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#235398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235398
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235398#FFFFFF#000000##FFFFFF
##2353981.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#184F97
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #235398;
/* rgb */ color: rgb(35, 83, 152);
/* oklch */ color: oklch(44.8% 0.124 257.9);
Tailwind
colors: {
  custom: {
    50: '#6f82b7',
    500: '#235398',
    950: '#000000',
  },
}
SCSS
$custom: #235398;
$custom-light: #6f82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#235398",
  "rgb": {
    "r": 35,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 215.385,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.12435,
    "h": 257.9
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#235398
secondary
#BE9459
accent
#A342E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235398

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

Preview Lab → · Contrast checker → · Palette generator →

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