#23498B#23498B

#23498B is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.118 H 260.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#23498B
RGBrgb(35, 73, 139)
HSLhsl(218, 60%, 34%)
HSVhsv(218, 75%, 55%)
CMYKcmyk(74.8%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.77, 10.74, -40.69)
CIE-LCHlch(31.77, 42.08, 284.79°)
OKLaboklab(41.53% -0.0193 -0.1166)
OKLCHoklch(41.53% 0.118 260.6)
XYZxyz(7.7342, 6.9857, 25.3618)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23498B #8B6523
analogous
#237D8B #23498B #31238B
triadic
#23498B #8B2349 #498B23
tetradic
#23498B #8B237D #8B6523 #238B31
square
#23498B #8B237D #8B6523 #238B31
split-complementary
#23498B #8B3123 #7D8B23
monochromatic
#0A1629 #172F5A #23498B #2F63BC #5483D4

Accessibility & contrast

On white

8.76
#23498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23498B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23498B#FFFFFF#000000##FFFFFF
##23498B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23498b;
/* rgb */ color: rgb(35, 73, 139);
/* oklch */ color: oklch(41.5% 0.118 260.6);
Tailwind
colors: {
  custom: {
    50: '#6d7bad',
    500: '#23498b',
    950: '#000000',
  },
}
SCSS
$custom: #23498b;
$custom-light: #6d7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#23498b",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 218.077,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.11822,
    "h": 260.6
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#23498B
secondary
#B89352
accent
#A945E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #23498B

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

Preview Lab → · Contrast checker → · Palette generator →

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