#283266#283266

#283266 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.091 H 272.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#283266
RGBrgb(40, 50, 102)
HSLhsl(230, 44%, 28%)
HSVhsv(230, 61%, 40%)
CMYKcmyk(60.8%, 51%, 0%, 60%)
CIE-LABlab(22.62, 13.23, -32.01)
CIE-LCHlch(22.62, 34.64, 292.46°)
OKLaboklab(33.79% 0.0039 -0.0914)
OKLCHoklch(33.79% 0.091 272.4)
XYZxyz(4.4132, 3.6913, 13.0477)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283266 #665C28
analogous
#285166 #283266 #3D2866
triadic
#283266 #662832 #326628
tetradic
#283266 #662851 #665C28 #28663D
square
#283266 #662851 #665C28 #28663D
split-complementary
#283266 #663D28 #516628
monochromatic
#090B16 #171C3A #283266 #394892 #4F60BA

Accessibility & contrast

On white

12.08
#283266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#283266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283266
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283266#FFFFFF#000000##FFFFFF
##2832661.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#0F3365
Tritanopia (blue-blind)
#013E47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283266;
/* rgb */ color: rgb(40, 50, 102);
/* oklch */ color: oklch(33.8% 0.091 272.4);
Tailwind
colors: {
  custom: {
    50: '#686992',
    500: '#283266',
    950: '#000000',
  },
}
SCSS
$custom: #283266;
$custom-light: #686992;
$custom-dark: #000000;
JSON
{
  "hex": "#283266",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 230.323,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33793,
    "c": 0.09146,
    "h": 272.4
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#283266
secondary
#998D51
accent
#BF54D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #283266

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

Preview Lab → · Contrast checker → · Palette generator →

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