#233D9E#233D9E

#233D9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.160 H 267.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#233D9E
RGBrgb(35, 61, 158)
HSLhsl(227, 64%, 38%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(77.8%, 61.4%, 0%, 38%)
CIE-LABlab(29.82, 26.38, -55.45)
CIE-LCHlch(29.82, 61.41, 295.44°)
OKLaboklab(40.5% -0.008 -0.1603)
OKLCHoklch(40.5% 0.16 267.1)
XYZxyz(8.5313, 6.1625, 33.0810)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D9E #9E8423
analogous
#237A9E #233D9E #46239E
triadic
#233D9E #9E233D #3D9E23
tetradic
#233D9E #9E237A #9E8423 #239E46
square
#233D9E #9E237A #9E8423 #239E46
split-complementary
#233D9E #9E4623 #7A9E23
monochromatic
#0D163A #182A6C #233D9E #2E50D0 #607ADC

Accessibility & contrast

On white

9.41
#233D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#233D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D9E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D9E#FFFFFF#000000##FFFFFF
##233D9E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233d9e;
/* rgb */ color: rgb(35, 61, 158);
/* oklch */ color: oklch(40.5% 0.160 267.1);
Tailwind
colors: {
  custom: {
    50: '#7272bb',
    500: '#233d9e',
    950: '#000000',
  },
}
SCSS
$custom: #233d9e;
$custom-light: #7272bb;
$custom-dark: #000000;
JSON
{
  "hex": "#233d9e",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 227.317,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40503,
    "c": 0.16046,
    "h": 267.1
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#233D9E
secondary
#C1AB5C
accent
#C441E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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