#233F8A#233F8A

#233F8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.130 H 265.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#233F8A
RGBrgb(35, 63, 138)
HSLhsl(224, 60%, 34%)
HSVhsv(224, 75%, 54%)
CMYKcmyk(74.6%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.76, 17.20, -44.92)
CIE-LCHlch(28.76, 48.10, 290.95°)
OKLaboklab(39.21% -0.0105 -0.1293)
OKLCHoklch(39.21% 0.13 265.4)
XYZxyz(7.0565, 5.7466, 24.7771)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F8A #8A6E23
analogous
#23738A #233F8A #3A238A
triadic
#233F8A #8A233F #3F8A23
tetradic
#233F8A #8A2373 #8A6E23 #238A3A
square
#233F8A #8A2373 #8A6E23 #238A3A
split-complementary
#233F8A #8A3A23 #738A23
monochromatic
#0A1228 #172959 #233F8A #2F55BB #5477D4

Accessibility & contrast

On white

9.77
#233F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#233F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F8A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F8A#FFFFFF#000000##FFFFFF
##233F8A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233f8a;
/* rgb */ color: rgb(35, 63, 138);
/* oklch */ color: oklch(39.2% 0.130 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d73ad',
    500: '#233f8a',
    950: '#000000',
  },
}
SCSS
$custom: #233f8a;
$custom-light: #6d73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#233f8a",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 223.689,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39207,
    "c": 0.1297,
    "h": 265.4
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#233F8A
secondary
#B79C51
accent
#B845E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #233F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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