#2318B3#2318B3

#2318B3 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.4% C 0.222 H 270.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2318B3
RGBrgb(35, 24, 179)
HSLhsl(244, 76%, 40%)
HSVhsv(244, 87%, 70%)
CMYKcmyk(80.4%, 86.6%, 0%, 29.8%)
CIE-LABlab(24.53, 54.50, -76.84)
CIE-LCHlch(24.53, 94.21, 305.35°)
OKLaboklab(37.37% 0.0036 -0.2222)
OKLCHoklch(37.37% 0.222 270.9)
XYZxyz(9.1537, 4.2642, 42.9797)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2318B3 #A8B318
analogous
#185BB3 #2318B3 #7118B3
triadic
#2318B3 #B32318 #18B323
tetradic
#2318B3 #B3185B #A8B318 #18B371
square
#2318B3 #B3185B #A8B318 #18B371
split-complementary
#2318B3 #B37118 #5BB318
monochromatic
#0E0A47 #18117D #2318B3 #3426E2 #665CE9

Accessibility & contrast

On white

11.33
#2318B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2318B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2318B3
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2318B3#FFFFFF#000000##FFFFFF
##2318B31.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2318b3;
/* rgb */ color: rgb(35, 24, 179);
/* oklch */ color: oklch(37.4% 0.222 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b5ccb',
    500: '#2318b3',
    950: '#000000',
  },
}
SCSS
$custom: #2318b3;
$custom-light: #7b5ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2318b3",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 244.258,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3737,
    "c": 0.22228,
    "h": 270.9
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#2318B3
secondary
#C5CD5A
accent
#F335E5
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #2318B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2318B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva