#233498#233498

#233498 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.163 H 269.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#233498
RGBrgb(35, 52, 152)
HSLhsl(231, 63%, 37%)
HSVhsv(231, 77%, 60%)
CMYKcmyk(77%, 65.8%, 0%, 40.4%)
CIE-LABlab(26.96, 30.11, -56.48)
CIE-LCHlch(26.96, 64.00, 298.06°)
OKLaboklab(38.23% -0.002 -0.1633)
OKLCHoklch(38.23% 0.163 269.3)
XYZxyz(7.5867, 5.0795, 30.2803)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233498 #988723
analogous
#236F98 #233498 #4D2398
triadic
#233498 #982334 #349823
tetradic
#233498 #98236F #988723 #23984D
square
#233498 #98236F #988723 #23984D
split-complementary
#233498 #984D23 #6F9823
monochromatic
#0C1235 #182366 #233498 #2E45CA #5C6ED9

Accessibility & contrast

On white

10.42
#233498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#233498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233498
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233498#FFFFFF#000000##FFFFFF
##2334981.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233498;
/* rgb */ color: rgb(35, 52, 152);
/* oklch */ color: oklch(38.2% 0.163 269.3);
Tailwind
colors: {
  custom: {
    50: '#716bb7',
    500: '#233498',
    950: '#000000',
  },
}
SCSS
$custom: #233498;
$custom-light: #716bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#233498",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 231.282,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.16336,
    "h": 269.3
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#233498
secondary
#BEAF59
accent
#CE42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #233498

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

Preview Lab → · Contrast checker → · Palette generator →

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