#223F93#223F93

#223F93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.143 H 265.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#223F93
RGBrgb(34, 63, 147)
HSLhsl(225, 62%, 35%)
HSVhsv(225, 77%, 58%)
CMYKcmyk(76.9%, 57.1%, 0%, 42.4%)
CIE-LABlab(29.41, 20.61, -49.41)
CIE-LCHlch(29.41, 53.54, 292.65°)
OKLaboklab(39.91% -0.0106 -0.1425)
OKLCHoklch(39.91% 0.143 265.7)
XYZxyz(7.7018, 6.0008, 28.3505)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F93 #937622
analogous
#227793 #223F93 #3E2293
triadic
#223F93 #93223F #3F9322
tetradic
#223F93 #932277 #937622 #22933E
square
#223F93 #932277 #937622 #22933E
split-complementary
#223F93 #933E22 #779322
monochromatic
#0B1430 #172A61 #223F93 #2D54C5 #5778D8

Accessibility & contrast

On white

9.54
#223F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#223F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F93
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F93#FFFFFF#000000##FFFFFF
##223F931.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223f93;
/* rgb */ color: rgb(34, 63, 147);
/* oklch */ color: oklch(39.9% 0.143 265.7);
Tailwind
colors: {
  custom: {
    50: '#6f73b3',
    500: '#223f93',
    950: '#000000',
  },
}
SCSS
$custom: #223f93;
$custom-light: #6f73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#223f93",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 224.602,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.1429,
    "h": 265.7
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#223F93
secondary
#BCA255
accent
#BC42E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #223F93

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

Preview Lab → · Contrast checker → · Palette generator →

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