#233C9D#233C9D

#233C9D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.160 H 267.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#233C9D
RGBrgb(35, 60, 157)
HSLhsl(228, 64%, 38%)
HSVhsv(228, 78%, 62%)
CMYKcmyk(77.7%, 61.8%, 0%, 38.4%)
CIE-LABlab(29.47, 26.66, -55.42)
CIE-LCHlch(29.47, 61.50, 295.69°)
OKLaboklab(40.22% -0.0073 -0.1602)
OKLCHoklch(40.22% 0.16 267.4)
XYZxyz(8.3927, 6.0224, 32.6119)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C9D #9D8423
analogous
#23799D #233C9D #47239D
triadic
#233C9D #9D233C #3C9D23
tetradic
#233C9D #9D2379 #9D8423 #239D47
square
#233C9D #9D2379 #9D8423 #239D47
split-complementary
#233C9D #9D4723 #799D23
monochromatic
#0D1639 #18296B #233C9D #2E4FCF #5F79DB

Accessibility & contrast

On white

9.53
#233C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#233C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C9D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C9D#FFFFFF#000000##FFFFFF
##233C9D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233c9d;
/* rgb */ color: rgb(35, 60, 157);
/* oklch */ color: oklch(40.2% 0.160 267.4);
Tailwind
colors: {
  custom: {
    50: '#7271bb',
    500: '#233c9d',
    950: '#000000',
  },
}
SCSS
$custom: #233c9d;
$custom-light: #7271bb;
$custom-dark: #000000;
JSON
{
  "hex": "#233c9d",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 227.705,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.16034,
    "h": 267.4
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#233C9D
secondary
#C0AC5C
accent
#C541E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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