#233C9B#233C9B

#233C9B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.158 H 267.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#233C9B
RGBrgb(35, 60, 155)
HSLhsl(228, 63%, 37%)
HSVhsv(228, 77%, 61%)
CMYKcmyk(77.4%, 61.3%, 0%, 39.2%)
CIE-LABlab(29.30, 25.89, -54.48)
CIE-LCHlch(29.30, 60.32, 295.42°)
OKLaboklab(40.04% -0.0073 -0.1574)
OKLCHoklch(40.04% 0.158 267.3)
XYZxyz(8.2233, 5.9547, 31.7200)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C9B #9B8223
analogous
#23789B #233C9B #46239B
triadic
#233C9B #9B233C #3C9B23
tetradic
#233C9B #9B2378 #9B8223 #239B46
square
#233C9B #9B2378 #9B8223 #239B46
split-complementary
#233C9B #9B4623 #789B23
monochromatic
#0C1537 #182969 #233C9B #2E4FCD #5E78DB

Accessibility & contrast

On white

9.58
#233C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#233C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C9B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C9B#FFFFFF#000000##FFFFFF
##233C9B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233c9b;
/* rgb */ color: rgb(35, 60, 155);
/* oklch */ color: oklch(40.0% 0.158 267.3);
Tailwind
colors: {
  custom: {
    50: '#7171b9',
    500: '#233c9b',
    950: '#000000',
  },
}
SCSS
$custom: #233c9b;
$custom-light: #7171b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233c9b",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 155
  },
  "hsl": {
    "h": 227.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40036,
    "c": 0.15759,
    "h": 267.3
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#233C9B
secondary
#BFAA5A
accent
#C442E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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