#233F8E#233F8E

#233F8E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.135 H 265.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#233F8E
RGBrgb(35, 63, 142)
HSLhsl(224, 60%, 35%)
HSVhsv(224, 75%, 56%)
CMYKcmyk(75.4%, 55.6%, 0%, 44.3%)
CIE-LABlab(29.07, 18.77, -46.90)
CIE-LCHlch(29.07, 50.52, 291.82°)
OKLaboklab(39.53% -0.0101 -0.1351)
OKLCHoklch(39.53% 0.135 265.7)
XYZxyz(7.3514, 5.8645, 26.3305)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F8E #8E7223
analogous
#23758E #233F8E #3D238E
triadic
#233F8E #8E233F #3F8E23
tetradic
#233F8E #8E2375 #8E7223 #238E3D
square
#233F8E #8E2375 #8E7223 #238E3D
split-complementary
#233F8E #8E3D23 #758E23
monochromatic
#0B132C #17295D #233F8E #2F55BF #5677D5

Accessibility & contrast

On white

9.66
#233F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#233F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F8E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F8E#FFFFFF#000000##FFFFFF
##233F8E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233f8e;
/* rgb */ color: rgb(35, 63, 142);
/* oklch */ color: oklch(39.5% 0.135 265.7);
Tailwind
colors: {
  custom: {
    50: '#6e73b0',
    500: '#233f8e',
    950: '#000000',
  },
}
SCSS
$custom: #233f8e;
$custom-light: #6e73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#233f8e",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 142
  },
  "hsl": {
    "h": 224.299,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39534,
    "c": 0.13548,
    "h": 265.7
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#233F8E
secondary
#B99F53
accent
#BA44E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #233F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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