#233A9D#233A9D

#233A9D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.163 H 267.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#233A9D
RGBrgb(35, 58, 157)
HSLhsl(229, 64%, 38%)
HSVhsv(229, 78%, 62%)
CMYKcmyk(77.7%, 63.1%, 0%, 38.4%)
CIE-LABlab(28.95, 28.01, -56.27)
CIE-LCHlch(28.95, 62.86, 296.46°)
OKLaboklab(39.83% -0.006 -0.1627)
OKLCHoklch(39.83% 0.163 267.9)
XYZxyz(8.2899, 5.8168, 32.5776)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A9D #9D8623
analogous
#23779D #233A9D #49239D
triadic
#233A9D #9D233A #3A9D23
tetradic
#233A9D #9D2377 #9D8623 #239D49
square
#233A9D #9D2377 #9D8623 #239D49
split-complementary
#233A9D #9D4923 #779D23
monochromatic
#0D1539 #18286B #233A9D #2E4CCF #5F76DB

Accessibility & contrast

On white

9.71
#233A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#233A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A9D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A9D#FFFFFF#000000##FFFFFF
##233A9D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233a9d;
/* rgb */ color: rgb(35, 58, 157);
/* oklch */ color: oklch(39.8% 0.163 267.9);
Tailwind
colors: {
  custom: {
    50: '#7270bb',
    500: '#233a9d',
    950: '#000000',
  },
}
SCSS
$custom: #233a9d;
$custom-light: #7270bb;
$custom-dark: #000000;
JSON
{
  "hex": "#233a9d",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 228.689,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39829,
    "c": 0.16281,
    "h": 267.9
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#233A9D
secondary
#C0AD5C
accent
#C741E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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