#233D9C#233D9C

#233D9C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.158 H 267.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#233D9C
RGBrgb(35, 61, 156)
HSLhsl(227, 63%, 37%)
HSVhsv(227, 78%, 61%)
CMYKcmyk(77.6%, 60.9%, 0%, 38.8%)
CIE-LABlab(29.65, 25.60, -54.52)
CIE-LCHlch(29.65, 60.23, 295.16°)
OKLaboklab(40.32% -0.008 -0.1575)
OKLCHoklch(40.32% 0.158 267.1)
XYZxyz(8.3605, 6.0942, 32.1817)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D9C #9C8223
analogous
#237A9C #233D9C #45239C
triadic
#233D9C #9C233D #3D9C23
tetradic
#233D9C #9C237A #9C8223 #239C45
square
#233D9C #9C237A #9C8223 #239C45
split-complementary
#233D9C #9C4523 #7A9C23
monochromatic
#0D1638 #18296A #233D9C #2E51CE #5E79DB

Accessibility & contrast

On white

9.46
#233D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#233D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D9C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D9C#FFFFFF#000000##FFFFFF
##233D9C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233d9c;
/* rgb */ color: rgb(35, 61, 156);
/* oklch */ color: oklch(40.3% 0.158 267.1);
Tailwind
colors: {
  custom: {
    50: '#7172ba',
    500: '#233d9c',
    950: '#000000',
  },
}
SCSS
$custom: #233d9c;
$custom-light: #7172ba;
$custom-dark: #000000;
JSON
{
  "hex": "#233d9c",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 227.107,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40324,
    "c": 0.15771,
    "h": 267.1
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#233D9C
secondary
#C0AA5B
accent
#C341E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233D9C

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

Preview Lab → · Contrast checker → · Palette generator →

#233D9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva