#235299#235299

#235299 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.127 H 258.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#235299
RGBrgb(35, 82, 153)
HSLhsl(216, 63%, 37%)
HSVhsv(216, 77%, 60%)
CMYKcmyk(77.1%, 46.4%, 0%, 40%)
CIE-LABlab(35.38, 10.23, -43.42)
CIE-LCHlch(35.38, 44.61, 283.25°)
OKLaboklab(44.6% -0.0249 -0.1245)
OKLCHoklch(44.6% 0.127 258.7)
XYZxyz(9.4581, 8.6907, 31.3098)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235299 #996A23
analogous
#238D99 #235299 #2F2399
triadic
#235299 #992352 #529923
tetradic
#235299 #99238D #996A23 #23992F
square
#235299 #99238D #996A23 #23992F
split-complementary
#235299 #992F23 #8D9923
monochromatic
#0C1D35 #183767 #235299 #2E6DCB #5D8EDA

Accessibility & contrast

On white

7.67
#235299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#235299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235299
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235299#FFFFFF#000000##FFFFFF
##2352991.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#124E98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #235299;
/* rgb */ color: rgb(35, 82, 153);
/* oklch */ color: oklch(44.6% 0.127 258.7);
Tailwind
colors: {
  custom: {
    50: '#7082b7',
    500: '#235299',
    950: '#000000',
  },
}
SCSS
$custom: #235299;
$custom-light: #7082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#235299",
  "rgb": {
    "r": 35,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 216.102,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44604,
    "c": 0.12697,
    "h": 258.7
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #235299

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

Preview Lab → · Contrast checker → · Palette generator →

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