#283D70#283D70

#283D70 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.092 H 265.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#283D70
RGBrgb(40, 61, 112)
HSLhsl(223, 47%, 30%)
HSVhsv(223, 64%, 44%)
CMYKcmyk(64.3%, 45.5%, 0%, 56.1%)
CIE-LABlab(26.61, 9.33, -32.06)
CIE-LCHlch(26.61, 33.38, 286.22°)
OKLaboklab(37.06% -0.0074 -0.0914)
OKLCHoklch(37.06% 0.092 265.4)
XYZxyz(5.4674, 4.9580, 15.9950)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D70 #705B28
analogous
#286170 #283D70 #372870
triadic
#283D70 #70283D #3D7028
tetradic
#283D70 #702861 #705B28 #287037
square
#283D70 #702861 #705B28 #287037
split-complementary
#283D70 #703728 #617028
monochromatic
#080C17 #182443 #283D70 #38569D #5172C1

Accessibility & contrast

On white

10.54
#283D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#283D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D70
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D70#FFFFFF#000000##FFFFFF
##283D701.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264272
Deuteranopia (green-blind)
#1B3C6F
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283d70;
/* rgb */ color: rgb(40, 61, 112);
/* oklch */ color: oklch(37.1% 0.092 265.4);
Tailwind
colors: {
  custom: {
    50: '#697299',
    500: '#283d70',
    950: '#000000',
  },
}
SCSS
$custom: #283d70;
$custom-light: #697299;
$custom-dark: #000000;
JSON
{
  "hex": "#283d70",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 112
  },
  "hsl": {
    "h": 222.5,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37057,
    "c": 0.09166,
    "h": 265.4
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#283D70
secondary
#A28B51
accent
#B051D7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283D70

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

Preview Lab → · Contrast checker → · Palette generator →

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