#233C9E#233C9E

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

Color values

HEX#233C9E
RGBrgb(35, 60, 158)
HSLhsl(228, 64%, 38%)
HSVhsv(228, 78%, 62%)
CMYKcmyk(77.8%, 62%, 0%, 38%)
CIE-LABlab(29.56, 27.05, -55.89)
CIE-LCHlch(29.56, 62.09, 295.83°)
OKLaboklab(40.31% -0.0073 -0.1615)
OKLCHoklch(40.31% 0.162 267.4)
XYZxyz(8.4784, 6.0567, 33.0633)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C9E #9E8523
analogous
#23799E #233C9E #47239E
triadic
#233C9E #9E233C #3C9E23
tetradic
#233C9E #9E2379 #9E8523 #239E47
square
#233C9E #9E2379 #9E8523 #239E47
split-complementary
#233C9E #9E4723 #799E23
monochromatic
#0D163A #18296C #233C9E #2E4FD0 #6079DC

Accessibility & contrast

On white

9.50
#233C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#233C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C9E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C9E#FFFFFF#000000##FFFFFF
##233C9E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233c9e;
/* rgb */ color: rgb(35, 60, 158);
/* oklch */ color: oklch(40.3% 0.162 267.4);
Tailwind
colors: {
  custom: {
    50: '#7271bc',
    500: '#233c9e',
    950: '#000000',
  },
}
SCSS
$custom: #233c9e;
$custom-light: #7271bc;
$custom-dark: #000000;
JSON
{
  "hex": "#233c9e",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 227.805,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40307,
    "c": 0.16171,
    "h": 267.4
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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