#23498C#23498C

#23498C is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.120 H 260.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#23498C
RGBrgb(35, 73, 140)
HSLhsl(218, 60%, 34%)
HSVhsv(218, 75%, 55%)
CMYKcmyk(75%, 47.9%, 0%, 45.1%)
CIE-LABlab(31.84, 11.14, -41.19)
CIE-LCHlch(31.84, 42.67, 285.13°)
OKLaboklab(41.6% -0.0191 -0.1181)
OKLCHoklch(41.6% 0.12 260.8)
XYZxyz(7.8076, 7.0150, 25.7484)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23498C #8C6623
analogous
#237E8C #23498C #32238C
triadic
#23498C #8C2349 #498C23
tetradic
#23498C #8C237E #8C6623 #238C32
square
#23498C #8C237E #8C6623 #238C32
split-complementary
#23498C #8C3223 #7E8C23
monochromatic
#0B162A #172F5B #23498C #2F63BD #5583D4

Accessibility & contrast

On white

8.74
#23498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#23498C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23498C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23498C#FFFFFF#000000##FFFFFF
##23498C1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#0C468B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #23498c;
/* rgb */ color: rgb(35, 73, 140);
/* oklch */ color: oklch(41.6% 0.120 260.8);
Tailwind
colors: {
  custom: {
    50: '#6d7bae',
    500: '#23498c',
    950: '#000000',
  },
}
SCSS
$custom: #23498c;
$custom-light: #6d7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#23498c",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 218.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.11966,
    "h": 260.8
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#23498C
secondary
#B89452
accent
#AA45E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #23498C

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

Preview Lab → · Contrast checker → · Palette generator →

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