#223790#223790

#223790 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.149 H 268.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#223790
RGBrgb(34, 55, 144)
HSLhsl(229, 62%, 35%)
HSVhsv(229, 76%, 56%)
CMYKcmyk(76.4%, 61.8%, 0%, 43.5%)
CIE-LABlab(26.98, 24.92, -51.54)
CIE-LCHlch(26.98, 57.25, 295.80°)
OKLaboklab(38.01% -0.0048 -0.1489)
OKLCHoklch(38.01% 0.149 268.2)
XYZxyz(7.0582, 5.0853, 26.9897)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223790 #907B22
analogous
#226E90 #223790 #442290
triadic
#223790 #902237 #379022
tetradic
#223790 #90226E #907B22 #229044
square
#223790 #90226E #907B22 #229044
split-complementary
#223790 #904422 #6E9022
monochromatic
#0B112D #16245E #223790 #2E4AC2 #556ED7

Accessibility & contrast

On white

10.41
#223790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223790
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223790#FFFFFF#000000##FFFFFF
##2237901.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223790;
/* rgb */ color: rgb(34, 55, 144);
/* oklch */ color: oklch(38.0% 0.149 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f6db1',
    500: '#223790',
    950: '#000000',
  },
}
SCSS
$custom: #223790;
$custom-light: #6f6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#223790",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 228.545,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38005,
    "c": 0.14894,
    "h": 268.2
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#223790
secondary
#BBA753
accent
#C643E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223790

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

Preview Lab → · Contrast checker → · Palette generator →

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