#233B9C#233B9C

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

Color values

HEX#233B9C
RGBrgb(35, 59, 156)
HSLhsl(228, 63%, 37%)
HSVhsv(228, 78%, 61%)
CMYKcmyk(77.6%, 62.2%, 0%, 38.8%)
CIE-LABlab(29.12, 26.95, -55.38)
CIE-LCHlch(29.12, 61.59, 295.95°)
OKLaboklab(39.93% -0.0066 -0.1601)
OKLCHoklch(39.93% 0.16 267.6)
XYZxyz(8.2558, 5.8846, 32.1468)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B9C #9C8423
analogous
#23789C #233B9C #47239C
triadic
#233B9C #9C233B #3B9C23
tetradic
#233B9C #9C2378 #9C8423 #239C47
square
#233B9C #9C2378 #9C8423 #239C47
split-complementary
#233B9C #9C4723 #789C23
monochromatic
#0D1538 #18286A #233B9C #2E4ECE #5E77DB

Accessibility & contrast

On white

9.65
#233B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#233B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B9C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B9C#FFFFFF#000000##FFFFFF
##233B9C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233b9c;
/* rgb */ color: rgb(35, 59, 156);
/* oklch */ color: oklch(39.9% 0.160 267.6);
Tailwind
colors: {
  custom: {
    50: '#7270ba',
    500: '#233b9c',
    950: '#000000',
  },
}
SCSS
$custom: #233b9c;
$custom-light: #7270ba;
$custom-dark: #000000;
JSON
{
  "hex": "#233b9c",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 156
  },
  "hsl": {
    "h": 228.099,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39931,
    "c": 0.16021,
    "h": 267.6
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#233B9C
secondary
#C0AC5B
accent
#C641E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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