#283164#283164

#283164 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.090 H 273.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#283164
RGBrgb(40, 49, 100)
HSLhsl(231, 43%, 27%)
HSVhsv(231, 60%, 39%)
CMYKcmyk(60%, 51%, 0%, 60.8%)
CIE-LABlab(22.19, 13.19, -31.41)
CIE-LCHlch(22.19, 34.07, 292.78°)
OKLaboklab(33.42% 0.0048 -0.0896)
OKLCHoklch(33.42% 0.09 273.1)
XYZxyz(4.2729, 3.5675, 12.5176)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283164 #645B28
analogous
#284F64 #283164 #3D2864
triadic
#283164 #642831 #316428
tetradic
#283164 #64284F #645B28 #28643D
square
#283164 #64284F #645B28 #28643D
split-complementary
#283164 #643D28 #4F6428
monochromatic
#090B16 #171C38 #283164 #394690 #4E5EB8

Accessibility & contrast

On white

12.25
#283164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#283164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283164
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283164#FFFFFF#000000##FFFFFF
##2831641.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193866
Deuteranopia (green-blind)
#103363
Tritanopia (blue-blind)
#053C45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283164;
/* rgb */ color: rgb(40, 49, 100);
/* oklch */ color: oklch(33.4% 0.090 273.1);
Tailwind
colors: {
  custom: {
    50: '#686890',
    500: '#283164',
    950: '#000000',
  },
}
SCSS
$custom: #283164;
$custom-light: #686890;
$custom-dark: #000000;
JSON
{
  "hex": "#283164",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 100
  },
  "hsl": {
    "h": 231,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33417,
    "c": 0.08975,
    "h": 273.1
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#283164
secondary
#978C51
accent
#C055D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #283164

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

Preview Lab → · Contrast checker → · Palette generator →

#283164 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva