#223DA5#223DA5

#223DA5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.170 H 267.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#223DA5
RGBrgb(34, 61, 165)
HSLhsl(228, 66%, 39%)
HSVhsv(228, 79%, 65%)
CMYKcmyk(79.4%, 63%, 0%, 35.3%)
CIE-LABlab(30.38, 28.96, -58.76)
CIE-LCHlch(30.38, 65.51, 296.23°)
OKLaboklab(41.1% -0.0088 -0.17)
OKLCHoklch(41.1% 0.17 267)
XYZxyz(9.1176, 6.3931, 36.3435)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223DA5 #A58A22
analogous
#227FA5 #223DA5 #4922A5
triadic
#223DA5 #A5223D #3DA522
tetradic
#223DA5 #A5227F #A58A22 #22A549
square
#223DA5 #A5227F #A58A22 #22A549
split-complementary
#223DA5 #A54922 #7FA522
monochromatic
#0D1740 #182A72 #223DA5 #3052D4 #637CDF

Accessibility & contrast

On white

9.22
#223DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#223DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223DA5
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223DA5#FFFFFF#000000##FFFFFF
##223DA51.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #223da5;
/* rgb */ color: rgb(34, 61, 165);
/* oklch */ color: oklch(41.1% 0.170 267.0);
Tailwind
colors: {
  custom: {
    50: '#7372c1',
    500: '#223da5',
    950: '#000000',
  },
}
SCSS
$custom: #223da5;
$custom-light: #7372c1;
$custom-dark: #000000;
JSON
{
  "hex": "#223da5",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 227.634,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41098,
    "c": 0.17021,
    "h": 267
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#223DA5
secondary
#C4AF5F
accent
#C63FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #223DA5

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

Preview Lab → · Contrast checker → · Palette generator →

#223DA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva