#233990#233990

#233990 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.146 H 267.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#233990
RGBrgb(35, 57, 144)
HSLhsl(228, 61%, 35%)
HSVhsv(228, 76%, 56%)
CMYKcmyk(75.7%, 60.4%, 0%, 43.5%)
CIE-LABlab(27.56, 23.68, -50.58)
CIE-LCHlch(27.56, 55.85, 295.09°)
OKLaboklab(38.46% -0.0053 -0.146)
OKLCHoklch(38.46% 0.146 267.9)
XYZxyz(7.1886, 5.2964, 27.0236)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233990 #907A23
analogous
#236F90 #233990 #442390
triadic
#233990 #902339 #399023
tetradic
#233990 #90236F #907A23 #239044
square
#233990 #90236F #907A23 #239044
split-complementary
#233990 #904423 #6F9023
monochromatic
#0B122E #17265F #233990 #2F4CC1 #5771D6

Accessibility & contrast

On white

10.20
#233990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#233990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233990
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233990#FFFFFF#000000##FFFFFF
##2339901.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233990;
/* rgb */ color: rgb(35, 57, 144);
/* oklch */ color: oklch(38.5% 0.146 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f6fb1',
    500: '#233990',
    950: '#000000',
  },
}
SCSS
$custom: #233990;
$custom-light: #6f6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#233990",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 144
  },
  "hsl": {
    "h": 227.89,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38455,
    "c": 0.1461,
    "h": 267.9
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#233990
secondary
#BAA654
accent
#C444E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #233990

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

Preview Lab → · Contrast checker → · Palette generator →

#233990 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva