#223F95#223F95

#223F95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.146 H 265.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#223F95
RGBrgb(34, 63, 149)
HSLhsl(225, 63%, 36%)
HSVhsv(225, 77%, 58%)
CMYKcmyk(77.2%, 57.7%, 0%, 41.6%)
CIE-LABlab(29.57, 21.40, -50.38)
CIE-LCHlch(29.57, 54.73, 293.02°)
OKLaboklab(40.08% -0.0105 -0.1453)
OKLCHoklch(40.08% 0.146 265.9)
XYZxyz(7.8601, 6.0641, 29.1842)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F95 #957822
analogous
#227895 #223F95 #3F2295
triadic
#223F95 #95223F #3F9522
tetradic
#223F95 #952278 #957822 #22953F
square
#223F95 #952278 #957822 #22953F
split-complementary
#223F95 #953F22 #789522
monochromatic
#0B1531 #172A63 #223F95 #2D54C7 #5879D9

Accessibility & contrast

On white

9.49
#223F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223F95
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F95#FFFFFF#000000##FFFFFF
##223F951.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223f95;
/* rgb */ color: rgb(34, 63, 149);
/* oklch */ color: oklch(40.1% 0.146 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f73b5',
    500: '#223f95',
    950: '#000000',
  },
}
SCSS
$custom: #223f95;
$custom-light: #6f73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#223f95",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 224.87,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.14572,
    "h": 265.9
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#223F95
secondary
#BDA356
accent
#BD42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #223F95

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

Preview Lab → · Contrast checker → · Palette generator →

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