#23418F#23418F

#23418F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.134 H 265.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#23418F
RGBrgb(35, 65, 143)
HSLhsl(223, 61%, 35%)
HSVhsv(223, 76%, 56%)
CMYKcmyk(75.5%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.71, 17.79, -46.47)
CIE-LCHlch(29.71, 49.76, 290.95°)
OKLaboklab(40.05% -0.0117 -0.1338)
OKLCHoklch(40.05% 0.134 265)
XYZxyz(7.5396, 6.1203, 26.7652)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23418F #8F7123
analogous
#23778F #23418F #3B238F
triadic
#23418F #8F2341 #418F23
tetradic
#23418F #8F2377 #8F7123 #238F3B
square
#23418F #8F2377 #8F7123 #238F3B
split-complementary
#23418F #8F3B23 #778F23
monochromatic
#0B142D #172B5E #23418F #2F57C0 #577AD6

Accessibility & contrast

On white

9.44
#23418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#23418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23418F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23418F#FFFFFF#000000##FFFFFF
##23418F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064B92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #23418f;
/* rgb */ color: rgb(35, 65, 143);
/* oklch */ color: oklch(40.0% 0.134 265.0);
Tailwind
colors: {
  custom: {
    50: '#6e75b0',
    500: '#23418f',
    950: '#000000',
  },
}
SCSS
$custom: #23418f;
$custom-light: #6e75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23418f",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 223.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.1343,
    "h": 265
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#23418F
secondary
#BA9E54
accent
#B744E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #23418F

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

Preview Lab → · Contrast checker → · Palette generator →

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