#233C94#233C94

#233C94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.148 H 267.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#233C94
RGBrgb(35, 60, 148)
HSLhsl(227, 62%, 36%)
HSVhsv(227, 76%, 58%)
CMYKcmyk(76.4%, 59.5%, 0%, 42%)
CIE-LABlab(28.71, 23.18, -51.17)
CIE-LCHlch(28.71, 56.17, 294.37°)
OKLaboklab(39.42% -0.0074 -0.1477)
OKLCHoklch(39.42% 0.148 267.1)
XYZxyz(7.6524, 5.7263, 28.7132)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C94 #947B23
analogous
#237494 #233C94 #422394
triadic
#233C94 #94233C #3C9423
tetradic
#233C94 #942374 #947B23 #239442
square
#233C94 #942374 #947B23 #239442
split-complementary
#233C94 #944223 #749423
monochromatic
#0C1431 #172863 #233C94 #2F50C5 #5A75D8

Accessibility & contrast

On white

9.79
#233C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233C94
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C94#FFFFFF#000000##FFFFFF
##233C941.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233c94;
/* rgb */ color: rgb(35, 60, 148);
/* oklch */ color: oklch(39.4% 0.148 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f71b4',
    500: '#233c94',
    950: '#000000',
  },
}
SCSS
$custom: #233c94;
$custom-light: #6f71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#233c94",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 226.726,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.14787,
    "h": 267.1
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#233C94
secondary
#BCA657
accent
#C143E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233C94

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

Preview Lab → · Contrast checker → · Palette generator →

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