#283094#283094

#283094 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.161 H 272.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#283094
RGBrgb(40, 48, 148)
HSLhsl(236, 57%, 37%)
HSVhsv(236, 73%, 58%)
CMYKcmyk(73%, 67.6%, 0%, 42%)
CIE-LABlab(25.87, 31.83, -55.80)
CIE-LCHlch(25.87, 64.24, 299.70°)
OKLaboklab(37.39% 0.0062 -0.1613)
OKLCHoklch(37.39% 0.161 272.2)
XYZxyz(7.2755, 4.7024, 28.5355)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283094 #948C28
analogous
#286694 #283094 #562894
triadic
#283094 #942830 #309428
tetradic
#283094 #942866 #948C28 #289456
square
#283094 #942866 #948C28 #289456
split-complementary
#283094 #945628 #669428
monochromatic
#0E1134 #1B2064 #283094 #3540C4 #626AD5

Accessibility & contrast

On white

10.82
#283094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#283094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283094
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283094#FFFFFF#000000##FFFFFF
##2830941.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283094;
/* rgb */ color: rgb(40, 48, 148);
/* oklch */ color: oklch(37.4% 0.161 272.2);
Tailwind
colors: {
  custom: {
    50: '#7268b4',
    500: '#283094',
    950: '#000000',
  },
}
SCSS
$custom: #283094;
$custom-light: #7268b4;
$custom-dark: #000000;
JSON
{
  "hex": "#283094",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 235.556,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37389,
    "c": 0.1614,
    "h": 272.2
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#283094
secondary
#BAB35E
accent
#D547E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283094

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

Preview Lab → · Contrast checker → · Palette generator →

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