#23498E#23498E

#23498E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.7% C 0.123 H 261.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#23498E
RGBrgb(35, 73, 142)
HSLhsl(219, 60%, 35%)
HSVhsv(219, 75%, 56%)
CMYKcmyk(75.4%, 48.6%, 0%, 44.3%)
CIE-LABlab(31.98, 11.93, -42.20)
CIE-LCHlch(31.98, 43.86, 285.79°)
OKLaboklab(41.75% -0.0188 -0.1211)
OKLCHoklch(41.75% 0.123 261.2)
XYZxyz(7.9564, 7.0745, 26.5321)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23498E #8E6823
analogous
#237E8E #23498E #33238E
triadic
#23498E #8E2349 #498E23
tetradic
#23498E #8E237E #8E6823 #238E33
square
#23498E #8E237E #8E6823 #238E33
split-complementary
#23498E #8E3323 #7E8E23
monochromatic
#0B172C #17305D #23498E #2F62BF #5683D5

Accessibility & contrast

On white

8.70
#23498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#23498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23498E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23498E#FFFFFF#000000##FFFFFF
##23498E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245091
Deuteranopia (green-blind)
#06478D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #23498e;
/* rgb */ color: rgb(35, 73, 142);
/* oklch */ color: oklch(41.7% 0.123 261.2);
Tailwind
colors: {
  custom: {
    50: '#6d7baf',
    500: '#23498e',
    950: '#000000',
  },
}
SCSS
$custom: #23498e;
$custom-light: #6d7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#23498e",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 218.692,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.12254,
    "h": 261.2
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#23498E
secondary
#B99553
accent
#AB44E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #23498E

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

Preview Lab → · Contrast checker → · Palette generator →

#23498E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva