#23498F#23498F

#23498F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.124 H 261.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#23498F
RGBrgb(35, 73, 143)
HSLhsl(219, 61%, 35%)
HSVhsv(219, 76%, 56%)
CMYKcmyk(75.5%, 49%, 0%, 43.9%)
CIE-LABlab(32.04, 12.33, -42.71)
CIE-LCHlch(32.04, 44.45, 286.10°)
OKLaboklab(41.82% -0.0186 -0.1226)
OKLCHoklch(41.82% 0.124 261.4)
XYZxyz(8.0318, 7.1047, 26.9293)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23498F #8F6923
analogous
#237F8F #23498F #33238F
triadic
#23498F #8F2349 #498F23
tetradic
#23498F #8F237F #8F6923 #238F33
square
#23498F #8F237F #8F6923 #238F33
split-complementary
#23498F #8F3323 #7F8F23
monochromatic
#0B172D #17305E #23498F #2F62C0 #5783D6

Accessibility & contrast

On white

8.67
#23498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#23498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23498F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23498F#FFFFFF#000000##FFFFFF
##23498F1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#03478E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #23498f;
/* rgb */ color: rgb(35, 73, 143);
/* oklch */ color: oklch(41.8% 0.124 261.4);
Tailwind
colors: {
  custom: {
    50: '#6e7bb0',
    500: '#23498f',
    950: '#000000',
  },
}
SCSS
$custom: #23498f;
$custom-light: #6e7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#23498f",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 218.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.12398,
    "h": 261.4
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#23498F
secondary
#BA9654
accent
#AC44E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #23498F

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

Preview Lab → · Contrast checker → · Palette generator →

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