#223494#223494

#223494 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.158 H 269.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#223494
RGBrgb(34, 52, 148)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 77%, 58%)
CMYKcmyk(77%, 64.9%, 0%, 42%)
CIE-LABlab(26.54, 28.48, -54.71)
CIE-LCHlch(26.54, 61.68, 297.51°)
OKLaboklab(37.8% -0.0028 -0.1582)
OKLCHoklch(37.8% 0.158 269)
XYZxyz(7.2311, 4.9334, 28.5824)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223494 #948222
analogous
#226D94 #223494 #492294
triadic
#223494 #942234 #349422
tetradic
#223494 #94226D #948222 #229449
square
#223494 #94226D #948222 #229449
split-complementary
#223494 #944922 #6D9422
monochromatic
#0B1130 #172362 #223494 #2D45C6 #586CD9

Accessibility & contrast

On white

10.57
#223494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#223494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223494
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223494#FFFFFF#000000##FFFFFF
##2234941.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223494;
/* rgb */ color: rgb(34, 52, 148);
/* oklch */ color: oklch(37.8% 0.158 269.0);
Tailwind
colors: {
  custom: {
    50: '#706bb4',
    500: '#223494',
    950: '#000000',
  },
}
SCSS
$custom: #223494;
$custom-light: #706bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#223494",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 230.526,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37795,
    "c": 0.15822,
    "h": 269
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#223494
secondary
#BDAC55
accent
#CC42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223494

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

Preview Lab → · Contrast checker → · Palette generator →

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