#23314F#23314F

#23314F is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.6% C 0.057 H 264.4°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#23314F
RGBrgb(35, 49, 79)
HSLhsl(221, 39%, 22%)
HSVhsv(221, 56%, 31%)
CMYKcmyk(55.7%, 38%, 0%, 69%)
CIE-LABlab(20.51, 4.11, -20.21)
CIE-LCHlch(20.51, 20.63, 281.50°)
OKLaboklab(31.61% -0.0056 -0.057)
OKLCHoklch(31.61% 0.057 264.4)
XYZxyz(3.2023, 3.1182, 7.8288)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23314F #4F4123
analogous
#23474F #23314F #2B234F
triadic
#23314F #4F2331 #314F23
tetradic
#23314F #4F2347 #4F4123 #234F2B
square
#23314F #4F2347 #4F4123 #234F2B
split-complementary
#23314F #4F2B23 #474F23
monochromatic
#090D15 #101725 #23314F #364B79 #4966A4

Accessibility & contrast

On white

12.93
#23314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#23314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23314F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23314F#FFFFFF#000000##FFFFFF
##23314F1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253450
Deuteranopia (green-blind)
#20304E
Tritanopia (blue-blind)
#0F373C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #23314f;
/* rgb */ color: rgb(35, 49, 79);
/* oklch */ color: oklch(31.6% 0.057 264.4);
Tailwind
colors: {
  custom: {
    50: '#616880',
    500: '#23314f',
    950: '#000000',
  },
}
SCSS
$custom: #23314f;
$custom-light: #616880;
$custom-dark: #000000;
JSON
{
  "hex": "#23314f",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 220.909,
    "s": 38.596,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31608,
    "c": 0.05725,
    "h": 264.4
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#23314F
secondary
#83714B
accent
#A959CF
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #23314F

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

Preview Lab → · Contrast checker → · Palette generator →

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