#233B9B#233B9B

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

Color values

HEX#233B9B
RGBrgb(35, 59, 155)
HSLhsl(228, 63%, 37%)
HSVhsv(228, 77%, 61%)
CMYKcmyk(77.4%, 61.9%, 0%, 39.2%)
CIE-LABlab(29.03, 26.57, -54.92)
CIE-LCHlch(29.03, 61.00, 295.82°)
OKLaboklab(39.84% -0.0066 -0.1587)
OKLCHoklch(39.84% 0.159 267.6)
XYZxyz(8.1714, 5.8509, 31.7027)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B9B #9B8323
analogous
#23779B #233B9B #47239B
triadic
#233B9B #9B233B #3B9B23
tetradic
#233B9B #9B2377 #9B8323 #239B47
square
#233B9B #9B2377 #9B8323 #239B47
split-complementary
#233B9B #9B4723 #779B23
monochromatic
#0C1537 #182869 #233B9B #2E4ECD #5E77DB

Accessibility & contrast

On white

9.68
#233B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233B9B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B9B#FFFFFF#000000##FFFFFF
##233B9B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.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: #233b9b;
/* rgb */ color: rgb(35, 59, 155);
/* oklch */ color: oklch(39.8% 0.159 267.6);
Tailwind
colors: {
  custom: {
    50: '#7170b9',
    500: '#233b9b',
    950: '#000000',
  },
}
SCSS
$custom: #233b9b;
$custom-light: #7170b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233b9b",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 155
  },
  "hsl": {
    "h": 228,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3984,
    "c": 0.15884,
    "h": 267.6
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#233B9B
secondary
#BFAB5A
accent
#C542E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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