#223259#223259

#223259 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.073 H 265.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#223259
RGBrgb(34, 50, 89)
HSLhsl(223, 45%, 24%)
HSVhsv(223, 62%, 35%)
CMYKcmyk(61.8%, 43.8%, 0%, 65.1%)
CIE-LABlab(21.37, 6.90, -25.52)
CIE-LCHlch(21.37, 26.44, 285.13°)
OKLaboklab(32.45% -0.0054 -0.0725)
OKLCHoklch(32.45% 0.073 265.7)
XYZxyz(3.6029, 3.3423, 9.9045)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223259 #594922
analogous
#224E59 #223259 #2E2259
triadic
#223259 #592232 #325922
tetradic
#223259 #59224E #594922 #22592E
square
#223259 #59224E #594922 #22592E
split-complementary
#223259 #592E22 #4E5922
monochromatic
#080C16 #11192D #223259 #334B85 #4464B2

Accessibility & contrast

On white

12.59
#223259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#223259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223259
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223259#FFFFFF#000000##FFFFFF
##2232591.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21365B
Deuteranopia (green-blind)
#1A3158
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #223259;
/* rgb */ color: rgb(34, 50, 89);
/* oklch */ color: oklch(32.4% 0.073 265.7);
Tailwind
colors: {
  custom: {
    50: '#626988',
    500: '#223259',
    950: '#000000',
  },
}
SCSS
$custom: #223259;
$custom-light: #626988;
$custom-dark: #000000;
JSON
{
  "hex": "#223259",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 89
  },
  "hsl": {
    "h": 222.545,
    "s": 44.715,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32447,
    "c": 0.07268,
    "h": 265.7
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#223259
secondary
#8D794A
accent
#AF53D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #223259

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

Preview Lab → · Contrast checker → · Palette generator →

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