#223B9B#223B9B

#223B9B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.159 H 267.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#223B9B
RGBrgb(34, 59, 155)
HSLhsl(228, 64%, 37%)
HSVhsv(228, 78%, 61%)
CMYKcmyk(78.1%, 61.9%, 0%, 39.2%)
CIE-LABlab(28.99, 26.46, -54.99)
CIE-LCHlch(28.99, 61.02, 295.69°)
OKLaboklab(39.8% -0.0075 -0.1589)
OKLCHoklch(39.8% 0.159 267.3)
XYZxyz(8.1380, 5.8337, 31.7011)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B9B #9B8222
analogous
#22789B #223B9B #45229B
triadic
#223B9B #9B223B #3B9B22
tetradic
#223B9B #9B2278 #9B8222 #229B45
square
#223B9B #9B2278 #9B8222 #229B45
split-complementary
#223B9B #9B4522 #789B22
monochromatic
#0C1537 #172869 #223B9B #2D4ECD #5C76DB

Accessibility & contrast

On white

9.69
#223B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#223B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B9B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B9B#FFFFFF#000000##FFFFFF
##223B9B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223b9b;
/* rgb */ color: rgb(34, 59, 155);
/* oklch */ color: oklch(39.8% 0.159 267.3);
Tailwind
colors: {
  custom: {
    50: '#7170b9',
    500: '#223b9b',
    950: '#000000',
  },
}
SCSS
$custom: #223b9b;
$custom-light: #7170b9;
$custom-dark: #000000;
JSON
{
  "hex": "#223b9b",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 155
  },
  "hsl": {
    "h": 227.603,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.15912,
    "h": 267.3
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#223B9B
secondary
#C0AB59
accent
#C541E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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