#23498D#23498D

#23498D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.121 H 261.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#23498D
RGBrgb(35, 73, 141)
HSLhsl(218, 60%, 35%)
HSVhsv(218, 75%, 55%)
CMYKcmyk(75.2%, 48.2%, 0%, 44.7%)
CIE-LABlab(31.91, 11.54, -41.70)
CIE-LCHlch(31.91, 43.27, 285.46°)
OKLaboklab(41.68% -0.019 -0.1196)
OKLCHoklch(41.68% 0.121 261)
XYZxyz(7.8817, 7.0446, 26.1385)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23498D #8D6723
analogous
#237E8D #23498D #32238D
triadic
#23498D #8D2349 #498D23
tetradic
#23498D #8D237E #8D6723 #238D32
square
#23498D #8D237E #8D6723 #238D32
split-complementary
#23498D #8D3223 #7E8D23
monochromatic
#0B162B #17305C #23498D #2F62BE #5583D5

Accessibility & contrast

On white

8.72
#23498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23498D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23498D#FFFFFF#000000##FFFFFF
##23498D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#09478C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #23498d;
/* rgb */ color: rgb(35, 73, 141);
/* oklch */ color: oklch(41.7% 0.121 261.0);
Tailwind
colors: {
  custom: {
    50: '#6d7baf',
    500: '#23498d',
    950: '#000000',
  },
}
SCSS
$custom: #23498d;
$custom-light: #6d7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#23498d",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 218.491,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41675,
    "c": 0.1211,
    "h": 261
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#23498D
secondary
#B99453
accent
#AA44E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #23498D

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

Preview Lab → · Contrast checker → · Palette generator →

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