#233E8F#233E8F

#233E8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.138 H 266.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#233E8F
RGBrgb(35, 62, 143)
HSLhsl(225, 61%, 35%)
HSVhsv(225, 76%, 56%)
CMYKcmyk(75.5%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.86, 19.86, -47.85)
CIE-LCHlch(28.86, 51.80, 292.54°)
OKLaboklab(39.4% -0.0092 -0.1379)
OKLCHoklch(39.4% 0.138 266.2)
XYZxyz(7.3719, 5.7849, 26.7094)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E8F #8F7423
analogous
#23748F #233E8F #3E238F
triadic
#233E8F #8F233E #3E8F23
tetradic
#233E8F #8F2374 #8F7423 #238F3E
square
#233E8F #8F2374 #8F7423 #238F3E
split-complementary
#233E8F #8F3E23 #748F23
monochromatic
#0B132D #17295E #233E8F #2F53C0 #5776D6

Accessibility & contrast

On white

9.73
#233E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233E8F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E8F#FFFFFF#000000##FFFFFF
##233E8F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233e8f;
/* rgb */ color: rgb(35, 62, 143);
/* oklch */ color: oklch(39.4% 0.138 266.2);
Tailwind
colors: {
  custom: {
    50: '#6e72b0',
    500: '#233e8f',
    950: '#000000',
  },
}
SCSS
$custom: #233e8f;
$custom-light: #6e72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#233e8f",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 225,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.13821,
    "h": 266.2
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#233E8F
secondary
#BAA054
accent
#BC44E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #233E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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