#233B9E#233B9E

#233B9E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.163 H 267.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#233B9E
RGBrgb(35, 59, 158)
HSLhsl(228, 64%, 38%)
HSVhsv(228, 78%, 62%)
CMYKcmyk(77.8%, 62.7%, 0%, 38%)
CIE-LABlab(29.29, 27.72, -56.31)
CIE-LCHlch(29.29, 62.77, 296.21°)
OKLaboklab(40.11% -0.0067 -0.1628)
OKLCHoklch(40.11% 0.163 267.7)
XYZxyz(8.4265, 5.9529, 33.0460)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B9E #9E8623
analogous
#23789E #233B9E #49239E
triadic
#233B9E #9E233B #3B9E23
tetradic
#233B9E #9E2378 #9E8623 #239E49
square
#233B9E #9E2378 #9E8623 #239E49
split-complementary
#233B9E #9E4923 #789E23
monochromatic
#0D163A #18286C #233B9E #2E4ED0 #6078DC

Accessibility & contrast

On white

9.59
#233B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233B9E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B9E#FFFFFF#000000##FFFFFF
##233B9E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233b9e;
/* rgb */ color: rgb(35, 59, 158);
/* oklch */ color: oklch(40.1% 0.163 267.7);
Tailwind
colors: {
  custom: {
    50: '#7270bc',
    500: '#233b9e',
    950: '#000000',
  },
}
SCSS
$custom: #233b9e;
$custom-light: #7270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#233b9e",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 228.293,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.16294,
    "h": 267.7
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#233B9E
secondary
#C1AD5C
accent
#C641E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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