#283175#283175

#283175 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.116 H 273.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#283175
RGBrgb(40, 49, 117)
HSLhsl(233, 49%, 31%)
HSVhsv(233, 66%, 46%)
CMYKcmyk(65.8%, 58.1%, 0%, 54.1%)
CIE-LABlab(23.44, 19.59, -40.34)
CIE-LCHlch(23.44, 44.85, 295.90°)
OKLaboklab(34.77% 0.0063 -0.1159)
OKLCHoklch(34.77% 0.116 273.1)
XYZxyz(5.1832, 3.9317, 17.3119)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283175 #756C28
analogous
#285775 #283175 #452875
triadic
#283175 #752831 #317528
tetradic
#283175 #752857 #756C28 #287545
square
#283175 #752857 #756C28 #287545
split-complementary
#283175 #754528 #577528
monochromatic
#090B1A #181E47 #283175 #3844A3 #5360C4

Accessibility & contrast

On white

11.76
#283175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#283175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283175
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283175#FFFFFF#000000##FFFFFF
##2831751.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283175;
/* rgb */ color: rgb(40, 49, 117);
/* oklch */ color: oklch(34.8% 0.116 273.1);
Tailwind
colors: {
  custom: {
    50: '#6b689d',
    500: '#283175',
    950: '#000000',
  },
}
SCSS
$custom: #283175;
$custom-light: #6b689d;
$custom-dark: #000000;
JSON
{
  "hex": "#283175",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 232.987,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34765,
    "c": 0.11607,
    "h": 273.1
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#283175
secondary
#A79D52
accent
#C94FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283175

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

Preview Lab → · Contrast checker → · Palette generator →

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