#223F94#223F94

#223F94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.144 H 265.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#223F94
RGBrgb(34, 63, 148)
HSLhsl(225, 63%, 36%)
HSVhsv(225, 77%, 58%)
CMYKcmyk(77%, 57.4%, 0%, 42%)
CIE-LABlab(29.49, 21.01, -49.89)
CIE-LCHlch(29.49, 54.14, 292.83°)
OKLaboklab(39.99% -0.0106 -0.1439)
OKLCHoklch(39.99% 0.144 265.8)
XYZxyz(7.7806, 6.0324, 28.7655)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F94 #947722
analogous
#227894 #223F94 #3E2294
triadic
#223F94 #94223F #3F9422
tetradic
#223F94 #942278 #947722 #22943E
square
#223F94 #942278 #947722 #22943E
split-complementary
#223F94 #943E22 #789422
monochromatic
#0B1530 #172A62 #223F94 #2D54C6 #5879D9

Accessibility & contrast

On white

9.52
#223F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#223F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F94
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F94#FFFFFF#000000##FFFFFF
##223F941.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223f94;
/* rgb */ color: rgb(34, 63, 148);
/* oklch */ color: oklch(40.0% 0.144 265.8);
Tailwind
colors: {
  custom: {
    50: '#6f73b4',
    500: '#223f94',
    950: '#000000',
  },
}
SCSS
$custom: #223f94;
$custom-light: #6f73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#223f94",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 224.737,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.14431,
    "h": 265.8
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#223F94
secondary
#BDA255
accent
#BC42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #223F94

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

Preview Lab → · Contrast checker → · Palette generator →

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