#233C9F#233C9F

#233C9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.163 H 267.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#233C9F
RGBrgb(35, 60, 159)
HSLhsl(228, 64%, 38%)
HSVhsv(228, 78%, 62%)
CMYKcmyk(78%, 62.3%, 0%, 37.6%)
CIE-LABlab(29.64, 27.43, -56.35)
CIE-LCHlch(29.64, 62.67, 295.96°)
OKLaboklab(40.4% -0.0073 -0.1629)
OKLCHoklch(40.4% 0.163 267.4)
XYZxyz(8.5648, 6.0913, 33.5185)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C9F #9F8623
analogous
#237A9F #233C9F #48239F
triadic
#233C9F #9F233C #3C9F23
tetradic
#233C9F #9F237A #9F8623 #239F48
square
#233C9F #9F237A #9F8623 #239F48
split-complementary
#233C9F #9F4823 #7A9F23
monochromatic
#0D163B #18296D #233C9F #2E4FD1 #6079DC

Accessibility & contrast

On white

9.47
#233C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#233C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C9F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C9F#FFFFFF#000000##FFFFFF
##233C9F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233c9f;
/* rgb */ color: rgb(35, 60, 159);
/* oklch */ color: oklch(40.4% 0.163 267.4);
Tailwind
colors: {
  custom: {
    50: '#7271bc',
    500: '#233c9f',
    950: '#000000',
  },
}
SCSS
$custom: #233c9f;
$custom-light: #7271bc;
$custom-dark: #000000;
JSON
{
  "hex": "#233c9f",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 227.903,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.16306,
    "h": 267.4
  },
  "luminance": 0.06092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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