#233E9F#233E9F

#233E9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.161 H 266.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#233E9F
RGBrgb(35, 62, 159)
HSLhsl(227, 64%, 38%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(78%, 61%, 0%, 37.6%)
CIE-LABlab(30.17, 26.09, -55.49)
CIE-LCHlch(30.17, 61.32, 295.18°)
OKLaboklab(40.79% -0.0086 -0.1603)
OKLCHoklch(40.79% 0.161 266.9)
XYZxyz(8.6716, 6.3048, 33.5541)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E9F #9F8423
analogous
#237C9F #233E9F #46239F
triadic
#233E9F #9F233E #3E9F23
tetradic
#233E9F #9F237C #9F8423 #239F46
square
#233E9F #9F237C #9F8423 #239F46
split-complementary
#233E9F #9F4623 #7C9F23
monochromatic
#0D173B #182A6D #233E9F #2E52D1 #607BDC

Accessibility & contrast

On white

9.29
#233E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#233E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E9F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E9F#FFFFFF#000000##FFFFFF
##233E9F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233e9f;
/* rgb */ color: rgb(35, 62, 159);
/* oklch */ color: oklch(40.8% 0.161 266.9);
Tailwind
colors: {
  custom: {
    50: '#7273bc',
    500: '#233e9f',
    950: '#000000',
  },
}
SCSS
$custom: #233e9f;
$custom-light: #7273bc;
$custom-dark: #000000;
JSON
{
  "hex": "#233e9f",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 226.935,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4079,
    "c": 0.16058,
    "h": 266.9
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#233E9F
secondary
#C1AB5D
accent
#C341E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #233E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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