#2338B0#2338B0

#2338B0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.190 H 268.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2338B0
RGBrgb(35, 56, 176)
HSLhsl(231, 67%, 41%)
HSVhsv(231, 80%, 69%)
CMYKcmyk(80.1%, 68.2%, 0%, 31%)
CIE-LABlab(30.20, 36.42, -65.65)
CIE-LCHlch(30.20, 75.08, 299.02°)
OKLaboklab(41.29% -0.0058 -0.1901)
OKLCHoklch(41.29% 0.19 268.3)
XYZxyz(9.9411, 6.3191, 41.7617)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2338B0 #B09B23
analogous
#237FB0 #2338B0 #5523B0
triadic
#2338B0 #B02338 #38B023
tetradic
#2338B0 #B0237F #B09B23 #23B055
square
#2338B0 #B0237F #B09B23 #23B055
split-complementary
#2338B0 #B05523 #7FB023
monochromatic
#0F184A #19287D #2338B0 #3950D8 #6C7DE2

Accessibility & contrast

On white

9.28
#2338B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2338B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2338B0
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2338B0#FFFFFF#000000##FFFFFF
##2338B01.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2338b0;
/* rgb */ color: rgb(35, 56, 176);
/* oklch */ color: oklch(41.3% 0.190 268.3);
Tailwind
colors: {
  custom: {
    50: '#776fc9',
    500: '#2338b0',
    950: '#000000',
  },
}
SCSS
$custom: #2338b0;
$custom-light: #776fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2338b0",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 231.064,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.19023,
    "h": 268.3
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#2338B0
secondary
#C8B967
accent
#D03EEA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2338B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2338B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva