#233A9F#233A9F

#233A9F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.166 H 267.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#233A9F
RGBrgb(35, 58, 159)
HSLhsl(229, 64%, 38%)
HSVhsv(229, 78%, 62%)
CMYKcmyk(78%, 63.5%, 0%, 37.6%)
CIE-LABlab(29.12, 28.77, -57.20)
CIE-LCHlch(29.12, 64.03, 296.70°)
OKLaboklab(40.01% -0.006 -0.1654)
OKLCHoklch(40.01% 0.166 267.9)
XYZxyz(8.4620, 5.8857, 33.4842)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A9F #9F8823
analogous
#23789F #233A9F #4A239F
triadic
#233A9F #9F233A #3A9F23
tetradic
#233A9F #9F2378 #9F8823 #239F4A
square
#233A9F #9F2378 #9F8823 #239F4A
split-complementary
#233A9F #9F4A23 #789F23
monochromatic
#0D153B #18286D #233A9F #2E4CD1 #6077DC

Accessibility & contrast

On white

9.64
#233A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#233A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A9F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A9F#FFFFFF#000000##FFFFFF
##233A9F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233a9f;
/* rgb */ color: rgb(35, 58, 159);
/* oklch */ color: oklch(40.0% 0.166 267.9);
Tailwind
colors: {
  custom: {
    50: '#7270bc',
    500: '#233a9f',
    950: '#000000',
  },
}
SCSS
$custom: #233a9f;
$custom-light: #7270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#233a9f",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 228.871,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.16552,
    "h": 267.9
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#233A9F
secondary
#C1AE5D
accent
#C841E7
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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