#283B64#283B64

#283B64 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.8% C 0.076 H 264.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#283B64
RGBrgb(40, 59, 100)
HSLhsl(221, 43%, 27%)
HSVhsv(221, 60%, 39%)
CMYKcmyk(60%, 41%, 0%, 60.8%)
CIE-LABlab(25.26, 6.19, -26.52)
CIE-LCHlch(25.26, 27.23, 283.15°)
OKLaboklab(35.77% -0.0077 -0.0752)
OKLCHoklch(35.77% 0.076 264.2)
XYZxyz(4.7385, 4.4988, 12.6728)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B64 #645128
analogous
#285964 #283B64 #332864
triadic
#283B64 #64283B #3B6428
tetradic
#283B64 #642859 #645128 #286433
square
#283B64 #642859 #645128 #286433
split-complementary
#283B64 #643328 #596428
monochromatic
#090D16 #172138 #283B64 #395590 #4E70B8

Accessibility & contrast

On white

11.05
#283B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#283B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B64
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B64#FFFFFF#000000##FFFFFF
##283B641.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3F66
Deuteranopia (green-blind)
#223963
Tritanopia (blue-blind)
#02444A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283b64;
/* rgb */ color: rgb(40, 59, 100);
/* oklch */ color: oklch(35.8% 0.076 264.2);
Tailwind
colors: {
  custom: {
    50: '#677090',
    500: '#283b64',
    950: '#000000',
  },
}
SCSS
$custom: #283b64;
$custom-light: #677090;
$custom-dark: #000000;
JSON
{
  "hex": "#283b64",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 100
  },
  "hsl": {
    "h": 221,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35769,
    "c": 0.07555,
    "h": 264.2
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

primary
#283B64
secondary
#978151
accent
#AB55D3
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #283B64

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

Preview Lab → · Contrast checker → · Palette generator →

#283B64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva